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

simple way to explane the servlet in java
Servlet is a program wich executed in server and assists in responding to client queries..... Usually confidential tasks are done by using servlets or other server side codes
Anish
What are the advanced features of EJB3.1?
1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside...
Arunava Chatterjee
What is Service Locator in java?
The Service Locator abstracts the API lookup (naming) services, vendor dependencies, lookup complexities, and business object creation. Provides a simple interface to clients. This reduces the client's...
Arunava Chatterjee
Is it possible to instantiate the abstract class?
Use anonymous class. Example: For an abstract class AbstrClass. AbstrClass ac = new AbstrClass() { public void m1() { // code...
Reshma

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

Ask a Question

Related Lessons

Inheritance In Java
Inheritance: The process of getting properties and behaviors from one class to another class is called inheritance. Properties: Variables Behaviors: Methods The main purpose of the inheritance...
D

Deleted U.

1 0
0

Mastering in Java Programming
Core java topics What is Java?Execution Model Of JavaBytecodeHow to Get Java?A First Java ProgramCompiling and Interpreting ApplicationsThe JDK Directory StructureUsing Eclipse Data types and Variables What...

What are the JSP implicit objects ?
JSP provides Nine implicit objects by default. They are as follows with corresponding Object Type: i) out --> JspWriter ii) request -->HttpServletRequest iii) response --> HttpServletResponse iv)...

Most Important Java Interview Topics
Dear All, I am here to help on java interview preparation for fresher and experienced people, please get in touch with me for further details. All interview preparation will be with unique teaching style...

Java8 Filters and collectors
Lets say we have collection of strings and we would like to filter (remove) out certain strings from collection. We could achive the same in java 7 and earlier versions import java.util.ArrayList; import...

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