1.

What is the output of this program?

public class string_Example
{
public static void main(String args[])
{
String obj = "I LIKE INTERVIEW MANIA";
System.out.println(obj.charAt(10));
}
}

A. I
B. L
C. K
D. N
E. E
Answer» F.


Discussion

No Comment Found

Related MCQs