Page 1 of 1

Error on OCP 1Z0-815 BOOK Deshmukh, Hanumant

Posted: Thu Feb 06, 2020 2:19 pm
by javiut
Page 84 states that every Java file MUST have at least 1 artifact defined and this is not true. Java files must have at MAXIMUM of 1 public class but is not MANDATORY define any.

You can see it Here .

https://www.quora.com/Is-it-compulsory- ... t-compiled

I have test it this code on Netbeans and not error is shown.

package ClassDesign;

:shock:

Re: Error on OCP 1Z0-815 BOOK Deshmukh, Hanumant

Posted: Thu Feb 06, 2020 10:08 pm
by admin
You are right. This is a mistake. Added to errata.
thank you for your feedback!