English

Every class must have all types of constructors. - Computer Applications

Advertisements
Advertisements

Question

Every class must have all types of constructors.

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

  1. A class in Java does not necessarily have all types of constructors.
  2. If no constructor is expressly stated, Java will give a default constructor.
shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Constructors - EXERCISES [Page 418]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 7 Constructors
EXERCISES | Q III. 3. | Page 418
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×