When does a compiler supplies a default constructor for a class?

When does a compiler supplies a default constructor for a class?

If a class has no constructors, then the compiler provides a default constructor for that class.

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher