You answeredJUST NOW
Java
STDIN
Hello World o
Expected STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Your STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
STDIN
Java Programming a
Expected STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Your STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
STDIN
Computer Science e
Expected STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Your STDOUT
Picked up JAVA_TOOL_OPTIONS: -Xmx671m -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Exception in thread "main" java.util.NoSuchElementException
class='code-space'> at java.util.Scanner.throwFor(Scanner.java:862)
class='code-space'> at java.util.Scanner.next(Scanner.java:1371)
class='code-space'> at CodingQuestion.main(CodingQuestion.java:9)
Instructor solution
You may exit out of this review and return later without penalty.