Aptitude
Reasoning
Verbal
Technical
AI
Exams
Search
Technical
/
Java
/
Exercises
/
Exercise 3
Java
medium
0/15 answered
Q1
What is the output of: String s = new String("Hello"); System.out.println(s == "Hello");
A
true
B
false
C
Compilation error
D
Runtime error
← Prev
1 / 15
Next →
← Exercise 2
Exercise 3 of 7
Exercise 4 →