1.

What is the output of this program? class output { public static void main(String args[]) { String c = "Hello i love java"; int start = 2; int end = 9; char s[]=new char[end-start]; c.getChars(start,end,s,0); System.out.println(s); } }

A. Hello, i love java
B. i love ja
C. lo i lo
D. llo i l
Answer» E.


Discussion

No Comment Found