Quang Hiếu
New member
What will be the output of the following Java program?
A. I
B. L
C. K
D. E
Code:
class string_class
{
public static void main(String args[])
{
String obj = "I LIKE JAVA";
System.out.println(obj.charAt(3));
}
}
B. L
C. K
D. E