What is JIT ?
Answers were Sorted based on User's Feedback
Answer / umaira fathima
Since JRE version 1.2, Sun's JVM implementation has
included a JIT (just in time) compiler. Unlike the previous
interpreter that interpreted bytecode one instruction at a
time, the JIT compiler converts the bytecode for a program
into equivalent native machine code as the program is
loaded into the virtual machine.
This results in faster execution
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / tushar
JIT(just in time)compiler for the Java language allows
interpreted Java programs to be automatically compiled into
native machine language on the fly, for faster performance
of the program. Some JVMs include a JIT compiler.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rinky
Just in time(JIT) is a fast compiler.
Remember that when client system sends a request to server system,then the response is sent in two ways
1)static response(google page) using html
2)Dynamic response(ex:cricket score update information)using Applets
To send user(client system)response in the form of Webpage,applets program (in the form of bytecode) transferred from server to client system over the internet and executed using JIT(i.e converts bytecode to native code)
A webpage may contain number of applet programs to give different reponses(updated news,cricket score....)then to execute each program using JVM is time taking process.so,JIT is used to compile all applet programs at once to reduce response time.
| Is This Answer Correct ? | 1 Yes | 1 No |
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
Can I declare a class as private?
Why java applets are more useful for intranets as compared to internet?
What is the final class?
Can you make a constructor final?
What is the difference between equals() and?
in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen?
can we have function for truncating the sign as like abs in oracle.
What is number data type in java?
What are keywords and reserved words in java?
What does singleton class mean?
what is the use of reference variable