What is preverifier?



What is preverifier?..

Answer / chaitu

Class File verification is used by Java Virtual Machine (JVM) before full startup of the JVM occurs in running bytecode of an application. This can be done in four Passes-

Pass-1:- Check byte code attributes, magic number, constant pool must not have any superficial data, and class file must not have extra bytes at end.

Pass-2:- Check every class behaviour and attribute and every class has valid names, classes, descriptor, and packages.

Pass-3:- Check code linking, attribute, and analysis data flow.

Pass-4:- Check where class loading occurs to finalize the class verification process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More J2ME Code Interview Questions

What is preverifier?

1 Answers  


Why does Java strictly specify the range and behavior of its primitive types?

1 Answers  


Why should we catch super class exceptions?

1 Answers  


create a MIDP application,which show to the user 4 questions.All questions have 4 possible options and one right option exactly.Application counts and shows to the user how many right answers were right and shows them to user.

1 Answers  


What are profiles in J2ME?

1 Answers  






What are advantages of J2ME?

1 Answers  


J2ME defines two configurations - CLDC and CDC. Explain them

1 Answers  


Why we use J2ME?

1 Answers  


What is Java Community Process (JCP)?

1 Answers  


wap to input a natural number less than and display it in words. test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred

1 Answers  


What are disadvantage of J2ME?

1 Answers  


What is difference between J2SE,J2EE and J2ME?

2 Answers  


Categories