When does the compiler supply a default constructor for a
class?
Answer Posted / bindhu
If we do not define any constructors, the
compiler inserts an invisible zero parameter
constructor "behind the scenes".
| Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
Why are parameters used in functions?
Can a class be defined inside an interface?
what is method reference in java 8?
What is the difference between class & object?
Can we make a constructor final?
Can you extend singleton class?
What is final access modifier in java?
What is Applet Stub Interface ?
What is subsequence of a string?
What is anti pattern in java?
What is xslt in java?
Which access specifier can be used with class ?
Can set contain duplicates?
What is the difference between serial and throughput garbage collector?
Is null an object java?