GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

What is an interface?

joannazhang13 AP CompSci High School Englisch 10 Karten

Karten in diesem Stapel (10)

  1. 1InterfaceA collection of related methods with provided headers but no implementations
  2. 2All of the methods are...Public and abstract
  3. 3An interface is declared with ____ keywordinterface
  4. 4Interfaces are implemented using ____ keywordimplements
  5. 5A class that does not implement all methods declared in the interface must be declared_____abstract
  6. 6The classes that implement the same interface can be very different but must have _____A common feature or capability
  7. 7Can an interface instantiate variables?No it cannot
  8. 8Does the extends clause precede the implements clause?Yes it must precede implements
  9. 9A class can implement how many interfaces?It can implement any number of them.
  10. 10Does an interface contain instance variables?No it does not.

Informationen

Beschreibung
Flashcards on java interface
Erstellt von
joannazhang13
Aufrufe
89
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck