What is the proper filename extension for a Java source file?

What is the proper filename extension for a Java source file?

A. .jav

B. .class

C. .source

D. .java

Answer:

D. .java

Explanation:

 The proper extension for a Java compiled bytecode file is .java, making Option D the correct answer.


Comments