Question: Question 3 What happens when a Java class does not have a programmer supplied constructor? A default constructor is supplied by the compiler that only
Question
What happens when a Java class does not have a programmer supplied constructor?
A default constructor is supplied by the compiler that only creates null objects.
A default constructor is supplied by the compiler that initialises all object variables to the system defined
default value.
No objects of this class can be created.
A ConstructorNotFoundException is generated by the compiler.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
