Important Java Mcq 1

Which JDK command is correct to run a Java application in bytecode.class?

a. java ByteCode

b. java ByteCode.class

c. javac ByteCode.class

d. JAVAC ByteCode.class

Answer:

a. java ByteCode

Explanation

After creating a .class file, in order to run it we should write the word java and then the class name containing the main method!

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?