What is the result of the next code? for(;;)
Anonymous Quiz
8%
This code will not be executed
75%
Infinity cycle
12%
Compile error
5%
Runtime error
👍7👏1
What is the result for the next code? public static void main(String[] args) {
String test = new String("Hello"); String test2 = new String("Hello"); System.out.println(test==test2); }
String test = new String("Hello"); String test2 = new String("Hello"); System.out.println(test==test2); }
Anonymous Quiz
7%
null
2%
Hello
67%
false
23%
true
👍1