Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
How does throwing an exception in a constructor affect the object creation process in Java and how should resources be managed?
Auto Skip
Report Issue
A.
JVM automatically cleans all resources on constructor errors
B.
If an exception is thrown the constructor is called again
C.
Object remains partial and no reference is returned; resources opened inside must be cleaned with try-finally
D.
Exceptions cannot be thrown in constructors
Previous
Next