What will be the output of the following Java program? [code] class string_class { public static void main(String args[])

Quang Hiếu

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

Tìm kiếm

Back
Top