Java задачи • Mentor
Добро пожаловать в канал "Java задачи • Mentor"! Мы создали этот канал для того, чтобы помочь вам поддерживать и развивать сложные навыки в программировании на Java. Здесь вы найдете разнообразные задачи, которые помогут вам углубить свои знания и навыки в Java. Наши эксперты-менторы будут поддерживать вас и помогать в решении задач, а также предлагать полезные советы и рекомендации. Присоединяйтесь к нашему каналу, чтобы стать более опытным и уверенным Java разработчиком. Независимо от вашего уровня опыта, здесь вы найдете задачи, которые помогут вам расти и достигать новых высот в своей карьере программиста.
Публикации канала
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 5% - null 4% - Hello 66% - false 25% - true
What is the result of the next code? for(;;) Anonymous Quiz 9% - This code will not be executed 69% - Infinity cycle 16% - Compile error 6% - Runtime error
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)
Is the finally block always executed? Anonymous Quiz 67% - Yes 31% - No 2% - Answer
Which operator calculates the remainder of division? Anonymous Quiz 3% - $ 4% - ** 84% - % 4% - ^ 5% - Answer
What is the arrayList.get(0)? Anonymous Quiz 27% - Autoboxing 55% - Unboxing 18% - Answer
What is the arrayList.add(11)? Anonymous Quiz 83% - Autoboxing 10% - Unboxing 7% - Answer
What does the method offer() to do? Queue interface. Anonymous Quiz 36% - Carry the element to the end of the queue 18% - Take the element and delete it 34% - Just take the element 12% - Answer
What types of blocks don't exist in Java? Anonymous Quiz 10% - Static initialization block 7% - Initialization block 34% - Local block 39% - All options above are valid 10% - Answer
Does stream work with primitives? Anonymous Quiz 44% - Yes 56% - No
Can we have two public classes in the package? Anonymous Quiz 79% - Yes 21% - No
What happens if we call get() on an empty optional? Anonymous Quiz 39% - NullPointerException 34% - NoSuchElementException will be thrown 21% - Nothing 5% - Answer
How does describe the relations between the class Animal and Tiger? Anonymous Quiz 29% - Has a 64% - Is a 7% - Answer
How does describe the relations between the class Animal and Tiger?
What cannot be used with the synchronized keyword? Anonymous Quiz 10% - method instance 22% - method static 12% - block 43% - constructor 13% - Answer
What is the initial default capacity of the class HashTable? Anonymous Quiz 17% - 11 76% - 16 7% - Answer
Can the parameter be final in the method? Anonymous Quiz 73% - Yes 25% - No 3% - Answer
What happens if we call get() on an empty optional? Anonymous Quiz 22% - Nothing 42% - NoSuchElementException 32% - NullPointerException 5% - Answer
Can an abstract method be final? Anonymous Quiz 23% - Yes 74% - No 3% - Answer
What is the best next programming language should Java developers learn? Anonymous Poll 9% - C#/.NET 50% - Kotlin 24% - Javascript 19% - Python 2% - Ruby 4% - Rust 12% - Go 11% - Scala 3% - Dart 8% - Skip quiz
Комментарии
Комментариев пока нет
Комментарии пишут вошедшие — так видно, кто автор.
Войти