🎴 Flashcard Mode

Programming Languages - Java and C Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

If you write a class with no constructors; the compiler will automatically supplies a no-argument(default)constructors

AnswerClick to flip back
A
True
💡 Explanation:

If a class does not explicitly define any constructors, the Java compiler automatically provides a default, no-argument constructor with the same access modifier as the class.

Change Mode