public class Flashcard
extends Object
Immutable type representing a flashcard, e.g., for learning vocabulary words in a
native language or foreign language.
PS1 instructions: do NOT change this class.
-
-
Method Summary
-
Constructor Details
-
Flashcard
- Parameters:
front
- the card's front side, e.g. a vocabulary word
back
- the card's back side, e.g. its definition
-
Method Details
-
getFront
- Returns:
- the card's front side
-
getBack
- Returns:
- the card's back side
-
-
-