Java задачи с собеседований
6.18K subscribers
678 photos
7 videos
19 files
263 links
Задачи, тесты и теоретические вопросы по JAVA.

Репозиторий: https://github.com/proghub-official/java-interview
Прислать задачу/вопрос в дар: @cyberJohnny
Сотрудничество: @cyberJohnny
Download Telegram
Что произойдет, когда вы скомпилируете и запустите следующий код?
Anonymous Quiz
51%
Parent
26%
Child
19%
Compilation error
4%
Runtime error
Will this code compile successfully?
Anonymous Quiz
35%
Yes
65%
No
What option if written at the line 12 will compile and run without any errors?
Anonymous Quiz
22%
Inter inter = new Six();
63%
One one = new Five();
16%
Three three = new Four();
What will happen when you compile and run the following code?
Anonymous Quiz
4%
No output
46%
Two
44%
Compilation error
6%
Runtime error
What will happen when you compile and run the following code?
Anonymous Quiz
6%
No output
26%
0
62%
Compilation error
6%
Runtime error
What will happen when you compile and run the following code?
Anonymous Quiz
8%
int constructor
70%
long constructor
3%
No output
20%
Compilation error
What will happen when you compile and run the following code?
Anonymous Quiz
16%
int constructor
31%
long constructor
48%
Compilation error
5%
Runtime error
👍7
What will happen when you compile and run the following code?
Anonymous Quiz
3%
No output
16%
char constructor
59%
String constructor
23%
Compilation error
👎12👍1