Oracle 1Z0-808 Exam question no. 25

Q. – Which three statements are true about the structure of a Java class? 

A) Fields need to be initialized before use. 

B) A public class must have a main method. 

C) Methods and fields are optional components of a class. 

D) A class cannot have the same name as its field. 

E) A class can have final static methods. 

F) A class can have overloaded private constructors.


⧪ please give your answer in a comment section.

Post a Comment

4 Comments