

McqMate
Q. |
How can we identify whether a compilation unit is class or interface from a .class file? |
A. | Java source file header |
B. | Extension of compilation unit |
C. | We cannot differentiate between class and interface |
D. | The class or interface name should be postfixed with unit type |
Answer» A. Java source file header |
View all MCQs in
Java ProgrammingNo comments yet