

McqMate
Q. |
In order for a source code file, containing the public class test, to successfully compile, which of the following must be true? |
A. | It must have a package statement |
B. | It must be named test.java |
C. | It must import java.lang |
D. | It must declare a public class named test. |
Answer» B. It must be named test.java |
View all MCQs in
Java ProgrammingNo comments yet