Error on OCP 1Z0-815 BOOK Deshmukh, Hanumant
Posted: Thu Feb 06, 2020 2:19 pm
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;

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;
