answersLogoWhite

0

The input is source code (MyClass.java) and the output is bytecode (MyClass.class).
Generally, Java compilers receive as input .java source code files, and output .class binary files which are then executed by the Java Virtual Machine (JVM) executable.

Some Java compilers output binaries in machine code that can be directly executed.
The input is a source file with the java extension. (i.e. HelloWorld.java) The output is the byte code file with the class extension. (i.e. HelloWorld.class)
Input:

1. Most compilers take as input the source program which is in a particular programming language.

2. Compilation Switches ( special arguments that tell the nature of compilation and structure of target code).

3. Supporting Files (Library Files) such files help in the execution and translation of a program

Output:

1. Program List file.

2. Target Code. Target code is the equivalent of the source code but in another language

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Which Java class allows you to do input and output via dialog boxes?

javax.swing.JOptionPane


What is IOExeption in BufferedReader in java?

IOException is thrown when a general input output error occurs.


What are the different phases of java?

Based on the lecture i have , there are three JAVA PHASES -- editor. First step in creating java program is by writing ur programms in a text editor. Ex, notepad, emacs etc -- java compiler. compile. The program by. Using the java compiler. The output of this process is a file of java bytecodes wid the file extension.class -- java interpreter. The .class file is then interpreted by java interpreter that converts the bytecodes into the machine language of the particular computer your using ---abioo4---


Is an OMR an input or output?

is an omr and input or output device?


Is interactive whiteboard an input or output device?

both input r output


Is a graphic tablet output or input?

Input device.


Is a projector input or output?

it is an output device


What is the input to output ratio formula?

output/input


Is Digitizing Pad is an input or an output?

output and input


Is java interpreter or compiler?

Java has both a compiled and an interpreted stage.1) The programmer writes his source codes (.java extension); a compiler will compile this to bytecode (.class extension).2) When the end-user runs the .class program, the JVM (Java Virtual Machine) will interpret this.


Is a CPU input or output?

Neither, it is not classified under input or output. It has its own identity


Write the 3 user defined exception in java?

1. Arithmetic Exception 2. Input Output Exception 3. Number Format Exception