Computer Science, asked by Dipshikhasumi1026, 11 months ago

What is extension of Java source code file ?
A. .j
B. .jav
C. .java
D. .jvp

Answers

Answered by jannatzubairtiktok
0

Extension for Java source code file is .java.

Typical steps to compile a Java Program

Step 1: Save your source code in a file name (exactly same as your class name) with .java extension

Step 2: Go to your working directory and compile javac -d . yourfilename.java

Step 3: After successful compilation you will see yourfilename.class in your working directory if it does not have package.

Similar questions