adplus-dvertising
frame-decoration

Question

How to compile java code in command prompt?

a.

javac filename.java

b.

java filename.java

c.

javac filename

d.

java filename

Answer: (a).javac filename.java

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How to compile java code in command prompt?