Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817
Moderator: admin
javiut
Posts: 37 Joined: Fri Oct 19, 2012 10:48 am
Contact:
Post
by javiut » 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;
admin
Site Admin
Posts: 10398 Joined: Fri Sep 10, 2010 9:26 pm
Contact:
Post
by admin » Thu Feb 06, 2020 10:08 pm
You are right. This is a mistake. Added to errata.
thank you for your feedback!
Users browsing this forum: Google [Bot] and 9 guests