Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

Core Java Interviewfragen und Antworten

Test your skills through the online practice test: Core Java Quiz Online Practice Test

Frage 126. How can a subclass call a method or a constructor defined in a superclass?

Use the following syntax: super.myMethod(); To call a constructor of the superclass, just write super(); in the first line of the subclass‘s constructor.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 127. Can an anonymous class be declared as implementing an interface and extending a class?

An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 128. When does the compiler supply a default constructor for a class?

The compiler supplies a default constructor for a class if no other constructors are provided.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 129. What is composition?

Holding the reference of the other class within some other class is known as composition.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 130. What is aggregation?

It is a special type of composition. If you expose all the methods of a composite class and route the method call to the composite method through its reference, then it is called aggregation.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Am hilfreichsten laut Nutzern:

Copyright © 2026, WithoutBook.