adplus-dvertising
frame-decoration

Question

How to run java program in command prompt?

a.

javac filename.java

b.

java filename.java

c.

javac filename

d.

java filename

Answer: (d).java filename

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How to run java program in command prompt?