Question: Which statements about Java classes are true? (Choose three.) A. A Java class file may include more than one package statement. B. A Java class
Which statements about Java classes are true? (Choose three.)
A. A Java class file may include more than one package statement.
B. A Java class file may include more than one import statement.
C. A Java class file may contain more than one comment.
D. Any instance fields within a class must be defined after the class name.
E. Any instance fields within a class must be defined before the class name.
F. Java supports macros, in which fragments of code within a class may be defined inside a Java file, separate from any top-level type declaration.
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
The correct statements about Java classes are B A Java class file may include more than one import s... View full answer
Get step-by-step solutions from verified subject matter experts
