1.

What is the output of this program? 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
Answer» B. abcdef/


Discussion

No Comment Found