UrbanPro

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

When we are used the compiler and interpreter? what is the difference between them?

Asked by Last Modified  

29 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Compiler Takes Entire program as input Interpreter Takes Single instruction as input .
Comments

Java,J2EE,Spring,Webservices,Hibernate,Cloud And Android Expertise

compiler compiles the high level language code into binary code and it will be done in one shot. Whereas interpreter will also do the same but line by line
Comments

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

Java code is the best example of compiled as well as interpreted. Java Compiler does the task of compiling . Java file to .class file(binary form). JVM works as interpreter to let Operating system understand the compiled code instructions.
Comments

Java Salesforce Certified Expert with 2+ years of Experience

compiler compiles whole page or file at one time but interpreter executes line by line like we do using debugger
Comments

Coaching

Compiler and interpreter, both basically serve the same purpose. Compiler converts the high level instruction into machine language WHOLE PROGRAM AT A TIME while an interpreter converts the high level instruction into machine level language LINE BY LINE. •Before execution, entire program is executed...
read more
Compiler and interpreter, both basically serve the same purpose. Compiler converts the high level instruction into machine language WHOLE PROGRAM AT A TIME while an interpreter converts the high level instruction into machine level language LINE BY LINE. •Before execution, entire program is executed by the compiler whereas after translating the first line, an interpreter then executes it and so on. •List of errors is created by the compiler after the compilation process while an interpreter stops translating after the first error. •An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time. read less
Comments

Coaching

Compiler and interpreter, both basically serve the same purpose. Complier converts the high level instruction into machine language WHOLE PROGRAM AT A TIME while an interpreter converts the high level instruction into machine level language LINE BY LINE. •Before execution, entire program is executed...
read more
Compiler and interpreter, both basically serve the same purpose. Complier converts the high level instruction into machine language WHOLE PROGRAM AT A TIME while an interpreter converts the high level instruction into machine level language LINE BY LINE. •Before execution, entire program is executed by the compiler whereas after translating the first line, an interpreter then executes it and so on. •List of errors is created by the compiler after the compilation process while an interpreter stops translating after the first error. •An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time. read less
Comments

GRADUATE

Compiler complies the entire program at once and then start running whereas interpreter start interpreting each line and starting running.
Comments

IT Professional Trainer with 15 years of experience in IT Industry

1. Compiler takes entire program as input and Interpreter takes single instruction as input. 2. Intermediate object code is generated in Compiler where no intermediate object code is generated in Interpreter. 3. Conditional control statements are executes faster in compiler and where in interpreter...
read more
1. Compiler takes entire program as input and Interpreter takes single instruction as input. 2. Intermediate object code is generated in Compiler where no intermediate object code is generated in Interpreter. 3. Conditional control statements are executes faster in compiler and where in interpreter it executes slower. 4. Example for compiler: C compiler, Example for interpreter: BASIC. read less
Comments

Tutor

The interpreter takes one statement then translates it and executes it and then takes another statement. While the compiler translates the entire program in one go and then executes it. · Compiler generates the error report after the translation of the entire page while an interpreter will stop...
read more
The interpreter takes one statement then translates it and executes it and then takes another statement. While the compiler translates the entire program in one go and then executes it. · Compiler generates the error report after the translation of the entire page while an interpreter will stop the translation after it gets the first error. · Compiler takes a larger amount of time in analyzing and processing the high level language code comparatively interpreter takes lesser time in the same process. · Besides the processing and analyzing time the overall execution time of a code is faster for compiler relative to the interpreter. read less
Comments

Tutor taking Computer subjects Classes

compiler is used for programming languages like C,java,c++ etc. whereas interpreter is used for script languages like javascript, vbscript and also for markup languages like HTML.
Comments

View 27 more Answers

Related Questions

Anyone knows how to convert jsf primeface into bootstrap?
You already can use some bootstrap CSS classes and helpers but if you want give style to each UI control, you will need to set the primefaces theme to none. Then you will need to give some style to...
Pradeep
1 0
9
What is the purpose of using throws keyword in java?
The throws statement is how you create an exception stack trace. There isn't much magic in java--it's not some underlying system mystery that creates an exception, it is simply a "Throw" statement, and...
Saritha
What is Constructor in Java?
A constructor in is a block of code similar to a method that's called when an instance of an object is created.
Ujwalajagdale
0 0
8
Why Java Laguage is not provided get method into Iterator? is there any specific reson.
1) Iterator is an Interface. 2) It's sole purpose is to iterate not save value. POJO's have getters and setters.
Niraj Raj
Is it possible to learn java at home without coaching in one month?
It all depends on you. If you are already aware of programming then it is definetly possible to learn java at home. But if learn through a tutor then you can learn easily.
Pritom
0 0
5

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

Ask a Question

Related Lessons

Class and Objects in Java
Class is a template or a blueprint which is used to describe an object. On other hand Object is a reference of a class which follows all the stuff written inside the class. How about taking the whole tour in the following video

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

ICreative Solution

0 0
0

Difference Between Checked And Un-Checked Exception
1. Exception is an abnormal condition in the program, if raises program terminates abnormally. 2. Exception always occurs at runtime only, there is no chance of exception at compile time. 3. Syntactical...

Use of Service Locator Pattern
If we want to reuse the java code that should be the best approach w.r.t re-usability, maintanence and saving time to concentrate on our own businbess logic/requirement. In the similar approach many patterns...
M

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...

Recommended Articles

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 >

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 >

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 >

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 >

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
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more