Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\Desktop\NATO.java:43: error: cannot find symbol
- InputStreamReader isr = new InputStreamReader(System.in);
- ^
- symbol: class InputStreamReader
- location: class NATO
- D:\Desktop\NATO.java:43: error: cannot find symbol
- InputStreamReader isr = new InputStreamReader(System.in);
- ^
- symbol: class InputStreamReader
- location: class NATO
- D:\Desktop\NATO.java:44: error: cannot find symbol
- BufferedReader br = new BufferedReader(isr);
- ^
- symbol: class BufferedReader
- location: class NATO
- D:\Desktop\NATO.java:44: error: cannot find symbol
- BufferedReader br = new BufferedReader(isr);
- ^
- symbol: class BufferedReader
- location: class NATO
- D:\Desktop\NATO.java:48: error: cannot find symbol
- catch (IOEXCEPTION ioe) {
- ^
- symbol: class IOEXCEPTION
- location: class NATO
- D:\Desktop\NATO.java:57: error: cannot find symbol
- int rnd = Random().nextInt(args.length);
- ^
- symbol: method Random()
- location: class NATO
- D:\Desktop\NATO.java:61: error: cannot find symbol
- String answerIncludingSpaces = System.in.nextLine;
- ^
- symbol: variable nextLine
- location: variable in of type InputStream
- D:\Desktop\NATO.java:63: error: char cannot be dereferenced
- String answer = answerUncapitalized.charAt(1).toUpperCase;
- ^
- D:\Desktop\NATO.java:66: error: variable numberCompleted is already defined in method main(String[])
- float numberCompleted = numberCompleted + 1;
- ^
- D:\Desktop\NATO.java:70: error: variable numberCorrect is already defined in method main(String[])
- float numberCorrect = numberCorrect + 1;
- ^
- D:\Desktop\NATO.java:79: error: variable finalScore is already defined in method main(String[])
- float finalScore = (numberCorrect / numberCompleted);
- ^
- D:\Desktop\NATO.java:83: error: cannot find symbol
- if(System.nextLine.toUpperCase == "Y") {
- ^
- symbol: variable nextLine
- location: class System
- D:\Desktop\NATO.java:88: error: package system does not exist
- system.out.println("Thank you for playing!");
- ^
- 13 errors
- [Finished in 0.7s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement