In C we use only compiler. Why java uses both compiler and
interpreter? What is its significance?

Answer Posted / ershad md sk

In C Lang Our program is directly Converted into
Executable code which is a Not portable..& it is Machine
Specific..in JAVA first .class file is Converted into .java
File And the Interpreter wil generate a intermediate Code
that is BYTE CODE..Which is Machine Independent...it has 0%
protability Issue............

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java not 100% pure oops?

623


Explain the features of interfaces in java?

561


What is a local class in java?

590


How will you compute size of a structure?

592


How to invoke external process in java.

575






What is scope & storage allocation of global and extern variables? Explain with an example

585


How many classes can any class inherit java?

512


What is sizeof () operator?

573


What is a boolean in java?

581


What do you mean by multithreaded program?

558


Is null a string?

558


Discuss about garbage collector in Java.

650


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

659


Can we write a class without main method in java?

487


What does I ++ mean?

613