adplus-dvertising
frame-decoration

Question

What is the command used to Run a Java program form Command Line or Command Prompt or CMD?

a.

javac hello

b.

java hello.class

c.

java hello

d.

java hello.java

Answer: (c).java hello

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the command used to Run a Java program form Command Line or Command Prompt or CMD?