Multiple choice technology programming languages

What command is used to compile a program in Java

  1. javac

  2. java

  3. run java

  4. javas

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

javac is the Java compiler command that compiles .java source files into .class bytecode files. The java command is used to run the compiled bytecode. Options C and D are not valid Java commands.