Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < ll; i++) {
- System.out.println("Write the term of the flashcard number " + i + 1 + ".");
- Scanner t = new Scanner(System.in);
- fclist[i].new Flashcard(term, definition);
- if (!t.toString().equals("")) {
- fclist[i].setTerm(t.nextLine());
- }
- System.out.println("Write the definition of the flashcard number " + i + 1 + ".");
- Scanner de = new Scanner(System.in);
- if (!de.toString().equals(""))
- fclist[i].setDefinition(de.nextLine());
- bw.write(fclist[i].getTerm() + "\t" + fclist[i].getDefinition() + "\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement