About Question enthuware.ocpjp.v8.2.1771 :
Moderator: admin
-
- Posts: 7
- Joined: Tue Dec 11, 2018 8:40 pm
- Contact:
About Question enthuware.ocpjp.v8.2.1771 :
Given the file name is TestClass.java and the class TestClass must be public. So the correct answer should be none of the above.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1771 :
Why must TestClass be public?
If you like our products and services, please help us by posting your review here.
-
- Posts: 7
- Joined: Tue Dec 11, 2018 8:40 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1771 :
I got confused by the concept. The answer is correct. Only the one public class must have the same name as the filename.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1771 :
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Google [Bot] and 108 guests