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

write a program 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

0 Answers  


Will J2ME applications run on J2SE?

1 Answers  


Why should we catch super class exceptions?

1 Answers  


What are profiles in J2ME?

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 basics Software's for J2ME applications?

1 Answers  


What is Generic" J2ME architecture?

0 Answers  


What is the J2ME platform?

1 Answers  


What is CDC?

2 Answers  


What are disadvantage of J2ME?

1 Answers  


What is preverifier?

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  


Categories