MCQ Single Best Answer Not Set

QDetermine output:
public class Test{
        public static void main(String args[]){ 	
		String s1 = "SITHA";
		String s2 = "RAMA";
		System.out.println(s1.charAt(0) > s2.charAt(0));
        }
}

ID: #2211 String in Java 1,513 views
Question Info
#2211Q ID
Not SetDifficulty
String in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A true
  • B false
  • C 0
  • D Compilation error
Correct Answer: Option A

Explanation

true

Share This Question

Challenge a friend or share with your study group.