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 |
Why does Java strictly specify the range and behavior of its primitive types?
What is preverifier?
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
Will J2ME applications run on J2SE?
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
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.
What hardware and software requirements of a device that intends to implement the MIDP.
List some Property Supported by J2ME?
Why we use J2ME?
Explain MIDlet Life cycle?
What is difference between J2SE,J2EE and J2ME?
J2ME defines two configurations - CLDC and CDC. Explain them