Given:
And given the commands:
javac Test.java
java Test
What is the result?
A.
Java SE
B.
Java EE
C.
Compilation fails at line n1.
D.
A NullPointerException is thrown at runtime.
Given:
And given the commands:
javac Test.java
java Test
What is the result?
A.
Java SE
B.
Java EE
C.
Compilation fails at line n1.
D.
A NullPointerException is thrown at runtime.
Test copilation fail in declaration of checkLimit…
C option is also correct.
B is the correct answer
Tested: B correct answer. Tested in Eclipse where i first got an error on checklimit but Eclipse corrected it for me. I also tested in two online Java compilers and it compiled without problem.
B
YO DIRIA LA D NULL POINT,
PORQUE NO SE LE ESTA PASANDO NINGUN PARAMETRO AL ARG.
B, if you are entering no arguments then the default value will be 0, and due to 0 > MIN is false its printed EE.
B