a simple FlashCardApp in Java