Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/5

Click to flip

5 Cards in this Set

  • Front
  • Back
what is a abstract class
base or template class that should never been instantiated only subclasses can be instantiated, can contain code and methods but no code for new instances
difference between abstract class and interface
interfaces are good for changing desing where as abstract is good for default behavior
benefits of using interfaces
best to use when you have something that you want to swap in and out, something that changes frequently
can interfaces use static or final
no
what is a interface
its a contract, all methods in the interface must be in the class that implements it, for example: bicycle -> bmx implements bicycle