C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 19)
19.
Which of the following statements are correct about JIT?
- JIT compiler compiles instructions into machine code at run time.
- The code compiler by the JIT compiler runs under CLR.
- The instructions compiled by JIT compilers are written in native code.
- The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.
- The method is JIT compiled even if it is not called
Discussion:
14 comments Page 1 of 2.
Venkatesh said:
1 decade ago
Can any one explain why this option is not correct "The instructions compiled by JIT compilers are written in Intermediate Language (IL) code".
Ashutosh said:
1 decade ago
I agree with Venkatesh, Even the option 4 is correct apart from 1,2,3
Rahul said:
1 decade ago
JIT only convert the IL code to native code. not vice versa. IL produce by clr. IL code produce from source code which we written
Preethi said:
1 decade ago
Can anyone explain me how the third option is correct here?
Mehul said:
1 decade ago
@Ashutosh.
Only either 3 or 4 can be correct they both together can't be correct.
Only either 3 or 4 can be correct they both together can't be correct.
Sandy said:
1 decade ago
Option 3 is wrong and option 4 is correct.. 100% sure.
So the correct options overhere are: 1, 2, & 4
So the correct options overhere are: 1, 2, & 4
Tejas said:
1 decade ago
Agree with Sandy. JIT compiles IL code, and not native code. The code JIT compiles to is native code.
Arun said:
1 decade ago
MSIL code is given input to the CLR. JIT compiles MSIL code.
Sanjay sahu said:
1 decade ago
Option 3 is correct. Because JIT is a part of CLR(VES) which converts IL code into machine code gradually during execution of program.
A machine code is also known as native code. So option 4 is wrong.
A machine code is also known as native code. So option 4 is wrong.
Thi said:
1 decade ago
JIT converts MSIL into machine language.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers