Java Applet Interview Questions and Answers Pdf - 1
What is the sequence of interpretation, compilation of a java applet?
A java program is first compiled to bytecode which is stored in a .class file.
This file is downloaded as an applet to a browser which then interprets it by converting it into machine code appropriate to the hardware platform on which it is running.
Which method is called by applet class to load an image?
getImage(URL object, filename) is used for this purpose.
How do I load a serilalized applet?
Instead of specifying the CODE attribute of an
OBJECT = TheApplet.ser
HEIGHT = 300
This allows you to pre-initialize your applet to some saved state, instead of having to reinitialize your applet each time it is loaded.
What is the relationship between clipping and repainting?
When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.
How does applet recognize the height and width?
Using getParameters() method.
7000+ TNPSC Group 1, 2, 4, VAO Indian Economy Study Materials Pdf More
7000+ Gate Computer Science Engineering Previous Year Questions More
7000+ Fill in the Blanks with Suitable Homonyms More
7000+ Fill in the Blanks with Suitable Homophones More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More
1,000+ Verbal Reasoning Questions for Placement Papers More
Ancient Indian History Gk Questions and Answers More
Delhi Sultanate Online Test Questions for UPSC, SSC CGL More
Furnace Technology MCQ Questons and Answers More
1000+ English Questions and Answers for Competitive Exams Pdf More