Which command from the JDK should be used to execute the main() method of a class named

Question:

Which command from the JDK should be used to execute the main() method of a class named SmallProg?

Select the one correct answer.

(a) java SmallProg

(b) javac SmallProg

(c) java SmallProg.java

(d) java SmallProg.class

(e) java SmallProg.main()

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: