if a functional interface has one abstract method and tostring abstract method does it still called as functional interface?
Anonymous Quiz
47%
False
53%
True
You check the explanation after answering. This question has been asked in 'Splunk' recently.
Is it possible to create a try-catch block inside a catch/finally block?
Anonymous Quiz
40%
No
60%
Yes
'finally' block will always execute, regardless of whether an exception is thrown or caught
Anonymous Quiz
21%
False
79%
True
If a 'try' block has a 'finally' block, the return statement inside the 'try' block will execute after the 'finally' block executed.
Anonymous Quiz
51%
False
49%
True
Please open Telegram to view this post
VIEW IN TELEGRAM
What happens if a method Throws a Checked exception but does not handle it or declare it with Throws?
Anonymous Quiz
47%
Compile-time Error
53%
Throws the exception at run-time
In a try-catch block, what happens if you place the Exception class before a subclass like ArithmeticException
Anonymous Quiz
45%
The program runs without error
34%
Compile-time error
21%
Runtime exception
A thread in Java can only be in one of two states: running or terminated.
Anonymous Quiz
51%
False
49%
True