answersLogoWhite

0


Best Answer

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

13y ago
This answer is:
User Avatar
User Avatar

JOSHUA MBEYE

Lvl 1
11mo ago
Very right
More answers
User Avatar

Wiki User

13y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

A java compiler takes java code as an input, and outputs byte code. The byte code is then run by the JVM (java virtual machine) directly which then further "compiles" it down to machine code for the computer that it's running on. This allows it to not only run quickly, but also run on any machine that has a working JVM.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

Java bytecode, a pseudocode instruction set for the Java Virtual Machine. This Virtual Machine makes compiled Java portable to different computers whose instruction sets are different and incompatible.

Note: Java is not the only (or even the first) language to use this method to make compiled code portable across wildly different computer architectures. An example of one of the early pseudocode based languages was Pascal.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

A Java compiler is a compiler for the programming language Java. The most common form of output from a Java compiler is Java class files containing platform-neutral Java bytecode, but there are also compilers that gives optimized native machine code for a particular hardware/operating system combination.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Source code that the compiler can convert to machine code.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

What it generates is called bytecode. It is the bytecode that can run on any machine that has a Java Virtual Machine (i.e., a Java interpreter).

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the input and output to a Java interpreter?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 Digitizing Pad is an input or an output?

output and input


Is a projector input or output?

it is an output device


What is the input to output ratio formula?

output/input


Is a CPU input or output?

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


What is the rule when the input is 1 and the output is 5 and input is 5 and output is 1 and input is 9 and output is -3?

There are many possible answers. One of them is Output = 6 - Input.


What is the difference between input and output?

What is the difference between output and input?If you sing into a microphone you can hear the microphone's output.Sound coming out of the power amp to the speakers.That is the input of the loudspeaker.Do you see the difference?Your voice is the microphone's input. Its output is electrical impulses that are input to the amplifier. The amplified impulses are the output of the amplifier and input to the speaker. Sound waves are output of the speaker and input to your ears.