Given the code in a file Traveler.java:
And the commands:
Javac Traveler.java
Java Traveler Java Duke
What is the result?
A. Happy Journey! Duke
B. Happy Journey! Java
C. An exception is thrown at runtime
D. The program fails to execute due to a runtime error
A is true.
The Answer is A (Happy Journey!Duke)
B