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

Need to do java core and advanced certificate. Which books or pdf is need to refer?
Hi Prashanth, At first to be clear there is nothing called Core and Advance certificate, Its OCJP/SCJP Certification. The cost and other details are already mentioned in their respective portals. The...
Prashanth
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
Is it good to go for a Java coaching center and learn Java (with advanced Java) to improve my programming skills?
yes, Please check the Institute reviews and discuss with the tutor, what topics were covered in class. Ask about the practicals session and how many hours/duration of the course.
Gerda
0 0
5
Which institute is best for java core learning?
For core java RPISE(rajesh patkar classe) is very good . he thought you from the sacratch . i was did there one course, There are lots od students apart from IT backgrounf was came there and they understood...
Hrhrh

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

Ask a Question

Related Lessons

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


Lambda Expressions in Java
A lambda expression, introduced in Java 8 is similar to a block of code resembling an anonymous function that can be passed to constructors or methods for execution as an argument. Examples: a)() ->...

Design Pattern
Prototype Design Pattern: Ø Prototype pattern refers to creating duplicate object while keeping performance in mind. Ø This pattern involves implementing a prototype interface which tells...

Definition of Class and Object in Java
Object - Objects have states and behaviors. Example: A dog has states - colour, name, breed as well as behaviors - barking, eating, sleeping. An object is an instance of a class. Class - A class can be...

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