Notes
Classes & Objets
Content of the notes (1)
Page 1
All classes have at least one constructor. If a class does not explicitly declare any, the Java compiler automatically provides a no-argument constructor, also called the default constructor. This default constructor calls the class parent’s no-argument constructor (as it contain only one statement i.e super();), or the Object class constructor if the class has no other parent (as Object class is parent of all classes either directly or indirectly)
Information
- Description
- Competetion Computer Studies Note on Classes & Objets, created by RAVI KUMAR on 27/04/2021.
- Created by
- RAVI KUMAR
- Views
- 0
- Rating