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.
Aaron said:
9 years ago
Sorry guys, but 1, 2 and 4 are correct.
3 is incorrect because JIT compiles IL into native code it does not compile native code.
3 is incorrect because JIT compiles IL into native code it does not compile native code.
(1)
IPSITA said:
9 years ago
IL code converted into native code trough JIT compiler. Option 3 is wrong.
(1)
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers