What are the input and output of a Java compiler?

Java Programming Language >   Overview of Java Language >   Compilation and Execution Process  

Short Question

9517


Answer:

The input of a Java compiler is a Java source code file and the output is a Java class file.

The input of a Java compiler is Java source code files, typically with the extension ".java". These files contain code written in the Java programming language.

The output of a Java compiler is called bytecode. This is a compiled form of the code written in the Java source code file. The bytecode is stored in a file with the extension ".class". This bytecode can be executed on any platform with a Java Virtual Machine (JVM) installed.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.