Apuntes
Classes & Objets
Contenido del apunte (1)
Página 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)
Información
- Descripción
- Competetion Computer Studies Apunte sobre Classes & Objets, creado por RAVI KUMAR el 27/04/2021.
- Creado por
- RAVI KUMAR
- Visitas
- 0
- Valoración