Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 1 : Bytecode verifier

Advertisement

Detailed Solution

सही उत्तर Bytecode verifier है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In the JVM architecture, which component verifies .class files for illegal or unsafe code before execution? / JVM आर्किटेक्चर में, निष्पादन से पहले कौन-सा घटक .class फाइलों में अवैध या असुरक्षित कोड की जाँच करता है?

1.
Bytecode verifier
2.
JIT compiler
3.
Interpreter
4.
Garbage collector

Correct Answer: Bytecode verifier

The bytecode verifier, part of the class-loading subsystem, checks that bytecode obeys JVM safety rules (type correctness, no stack underflow, legal jumps) before the code is executed. / बाइटकोड वेरिफायर, क्लास-लोडिंग उपतंत्र का भाग, निष्पादन से पहले जाँचता है कि बाइटकोड JVM सुरक्षा नियमों (प्रकार शुद्धता, स्टैक अंडरफ्लो नहीं, वैध जंप) का पालन करता है।

Downloaded from PrepSnap (prepsnap.in)