Java задачи • Mentor
1.28K subscribers
99 photos
13 links
The channel was created to maintain and develop hard skills 💻

• Tasks
• Questions
• Series of tasks by topic 📖
https://t.me/javaquiz_mentor/5
Download Telegram
What is the arrayList.add(11)?
Anonymous Quiz
83%
Autoboxing
10%
Unboxing
7%
Answer
👍4
What is the arrayList.get(0)?
Anonymous Quiz
27%
Autoboxing
54%
Unboxing
19%
Answer
Which operator calculates the remainder of division?
Anonymous Quiz
3%
$
4%
**
84%
%
4%
^
5%
Answer
🤔5👍3
Is the finally block always executed?
Anonymous Quiz
66%
Yes
32%
No
2%
Answer
😁3🔥2
Java задачи • Mentor
Is the finally block always executed?
☝️ Explanation:

The final block is always executed unless there is an abnormal termination of the program, either as a result of a JVM failure or calling the System.exit(0)
👍4🤯4
What is the result of the next code? for(;;)
Anonymous Quiz
9%
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); }
Anonymous Quiz
8%
null
2%
Hello
67%
false
22%
true