Given the code from the Greeting.Java file: Which set of commands prints Hello Duke in the
console?
A.
Option C
B.
Option D
C.
Option B
D.
Option A
Given the code from the Greeting.Java file: Which set of commands prints Hello Duke in the
console?
A.
Option C
B.
Option D
C.
Option B
D.
Option A
Correct Answer : A – Option C
javac Greeting.java
java Greeting Duke
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
Answer is A – option C
Definitely A- Option C.
a