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

Answer Posted / nidhi,himani

because in java, code is 1st converted into bytecode by the
compiler nd then it is converted into machine code by the
interpreter.

Is This Answer Correct ?    29 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is interface in java? Explain

747


What are the advantages of exception handling?

813


What is the final class modifier?

785


Explain the difference between static and dynamic binding in java?

842


In which order the iterator iterates over collection?

798


How we can generate random numbers in java?

896


What is difference between local variable and global variable?

741


What is a nested list?

755


why are there separate wait and sleep methods? : Java thread

801


When throws keyword is used?

771


What are the six ways to use this keyword?

850


When do you call copy constructor?

758


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2348


How to find the index of the largest number in an arraylist java?

752


What are the escape sequences in java?

779