Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java interpreter? [closed]

Tags:

java

are there any interpretors available online? Where I could just throw a line or two of java into it and it would output the result?

like image 561
Skizit Avatar asked Aug 17 '10 15:08

Skizit


People also ask

Is there a Java interpreter?

Interpreter in Java is a computer program that converts high-level program statement into Assembly Level Language. It is designed to read the input source program and then translate the source program instruction by instruction.

How does Java interpreter work?

As the Java compiler compiles the source code into the Java bytecode. In the same way, the Java interpreter converts or translates the bytecode into the machine-understandable format i.e. machine code, after that the machine code interacts with the operating system.

Is JVM an interpreter or compiler?

JVM have both compiler and interpreter. Because the compiler compiles the code and generates bytecode. After that the interpreter converts bytecode to machine understandable code. Example: Write and compile a program and it runs on Windows.

How is Java interpreter different from JVM?

Simply put, a JVM interprets bytecode and a Java interpreter interprets Java. They are different because bytecode and Java are different languages. Bytecode is a low-level language, like machine code. The bytecode is meant to be run by a program called a bytecode interpreter, also called a virtual machine.


1 Answers

ideone.com which supports Java and many other languages.

like image 60
Marimuthu Madasamy Avatar answered Sep 21 '22 12:09

Marimuthu Madasamy