Question: Which statement about the Java class is NOT true? a. A Java class can have all methods and fields as static. b. A Java class
Which statement about the Java class is NOT true?
a.
A Java class can have all methods and fields as static.
b.
A Java class must contain at least one method and one field data.
c.
A Java class must be compiled before the execution.
d.
A Java class must be defined by using the keyword 'class'.
e.
A Java class can have no public methods.
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The statement A Java c... View full answer
Get step-by-step solutions from verified subject matter experts
