Is Java a compiler or Interpreter?

Asked by Last Modified  

32 Answers

Learn Java

Follow 2
Answer

Please enter your answer

Java Expert

Java is a programming language and computing platform first released by Sun Microsystems in 1995. A Java compiler is a compiler for the Java programming language. A JVM interprets bytecode and a Java interpreter interprets Java. They are different because bytecode and Java are different languages....
read more
Java is a programming language and computing platform first released by Sun Microsystems in 1995. A Java compiler is a compiler for the Java programming language. 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. read less
Comments

Certified C/C++/Core & Advance Java/Python Trainer

Well, Java is a high level programming language.And when it comes to a certain high level programming language, we need a language processor in order to convert or translate the program or code written in that language to a form which could be understood by the computer. Now here we require some language...
read more
Well, Java is a high level programming language.And when it comes to a certain high level programming language, we need a language processor in order to convert or translate the program or code written in that language to a form which could be understood by the computer. Now here we require some language processor. Java( language) uses a java compiler for the conversion of a high level language java code to an intermediate code known as BYTECODE. ( this byte code is the key feature through which java claims PLATFORM INDEPENDENCE). In order to execute this byte code , again a translator is required known as java interpreter. Thus, we can say that java language uses both a compiler and an interpreter for a basic program to run. read less
Comments

Assistant Professor

JAVA is a programming language, it has both compiler for generating byte code and also interpreter jvm for executing byte code
Comments

Java has both compiler and interpreter.
Comments

Interpreter
Comments

Java Team Lead cum Mentor having 18 years of experience.

Its a compiler.
Comments

3 yrs teaching experience in Java/J2EE

Java is not a compiler or interpreter. Compiler or interpreter is translator which is used to translate from source code to native code. What program we r writing that is called source code. Native code is machine understandable code which understand by machine. Interpreter converts the code line...
read more
Java is not a compiler or interpreter. Compiler or interpreter is translator which is used to translate from source code to native code. What program we r writing that is called source code. Native code is machine understandable code which understand by machine. Interpreter converts the code line by line but compiler converts at a time all the code read less
Comments

Computer wizard

It have both of them
Comments

B.E. In Information Technology

Java is both a compiler and interpreter
Comments

Completed B.Tech in IT.Teaching is my Passion

Java has both compiler and interpreter.
Comments

View 30 more Answers

Related Questions

As a fresher I have done Python training, but hardly getting response from any company. What should I do?
only having training in Python is not enough to be called for intervew. Better you should get real time certification course form reputed organisation with smart hand-on real project exposure. Try to have...
Yamini
0 0
6
I would like to apply as java trainer
Good Luck!! Best decision to share knowledge!!!
Ritika
What is the use of the "this" keyword in Java?
'this' refer the current instance of a class. You can get and set data members of current object using 'this' prefix inside there class data type.
Deepak
0 0
9

What do you understand by Object and Class?

An object is memory that can represent the data of real object , class is plan for object memory structure so we can say class is also a data typed for creating objects
Afsal
Why Operator Overloading in not allowed in JAVA?
Java does not support operator overloading by programmers. This is not the same as stating that Java does not need operator overloading. Operator overloading is syntactic sugar to express an operation...
Ashish

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

1.3. Find the second largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 3, 4, 6, 5}; int max = Integer.MIN_VALUE, secondMax = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { if (arr >...

Introduction to Course Content
Video about what we are going to learn throughout the Java Training Session .

Java Advantages
In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity.

Puzzle Game coding
import java.awt.BorderLayout;import java.awt.Color;import java.awt.Dimension;import java.awt.Font;import java.awt.FontMetrics;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.RenderingHints;import...

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

Recommended Articles

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you