GoConqr has a new look! Let us know what you think.

Flashcards

What is an interface?

joannazhang13 AP CompSci High School English 10 cards

Cards in this deck (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.

Information

Description
Flashcards on java interface
Created by
joannazhang13
Views
89
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?