Notizen
Classes & Objets
Inhalt der Notizen (1)
Seite 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)
Informationen
- Beschreibung
- Competetion Computer Studies Notiz am Classes & Objets, erstellt von RAVI KUMAR am 27/04/2021.
- Erstellt von
- RAVI KUMAR · Apr 2021
- Aktualisiert
- 27 Apr 2021
- Aufrufe
- 0
- Bewertung