Page 1 of 1

About Question enthuware.ocpjp.v8.2.1805 :

Posted: Fri Oct 09, 2015 2:24 am
by Martyjee
The question says:
Assuming that a file named "MyTest.java" exists in c:\pathtest\ as well as in c:\pathtest\dir2, what will happen when the following code is compiled and run?
Actually, in the code "a.java" is used.

So on my machine, it will throw a java.nio.NoSuchFileException.
Changing "MyTest.java" to "a.java" should fix the issue.

Re: About Question enthuware.ocpjp.v8.2.1805 :

Posted: Fri Oct 09, 2015 3:52 am
by admin
Fixed.
thank you for your feedback!