Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1420 :

Posted: Wed Dec 04, 2019 12:56 pm
by tcroots19
is it too picky to say that this would not compile? it's not a class, no main, etc, etc, etc. why is that not a choice here? seems exactly the thing the tests picks at

Re: About Question enthuware.ocajp.i.v8.2.1420 :

Posted: Wed Dec 04, 2019 9:30 pm
by admin
This falls under the category of "code snippets", which means some piece of code without any context such as a class, or the main method. Such code snippets are very common in the real exam. Oracle has made it clear in their exam instructions that you have to assume that the given code is present inside a valid context.

Re: About Question enthuware.ocajp.i.v8.2.1420 :

Posted: Thu Dec 05, 2019 7:06 am
by tcroots19
thanks