0 votes
in JAVA by
How does one identify if a compilation unit is an interface or class from a .class file?

1) Extension of the compilation unit

2) Java source file header

3) The class and interface cannot be differentiated

4) The unit type must be used to postfix interface or class name

1 Answer

0 votes
by

2) Java source file header

Related questions

0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
...