class Input_Output { public static void main(String args[]) throws IOException { char c; BufferedReader obj = new BufferedReader(new InputStreamReader(System.in)); do { c = (char) obj.read(); System.out.print(c); } while(c!='\''); } }
a) abc’
b) abcdef/’
c) abc’def/’egh
d) abcqfghq
What will be the output of the following Java program if input given is “abc’def/’egh”?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following Java program if input given is “abc’def/’egh”?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!