Answer: Option [D]
drawString is a Graphics class. It called within update() or paint() method to print a string to the applet window.
Answer: Option [D]
drawString is a Graphics class. It called within update() or paint() method to print a string to the applet window.
Answer: Option [A]
The Component class is the base class for classes "Button" and "TestComponent". It is base class for almost all the interface components in the AWT.
Answer: Option [D]
BorderLayout is the default layout manager for subclasses of "Window". For e.g. it default layout manager for JFrame, JWindow, JDialog, JInternalFrame, and JApplet.
Answer: Option [C]
Applets are written in Java and it can be included in html page by using HTML tag.
Answer: Option [B]
In a container BorderLayout is used to arrange components in five regions. The arrangement of components can be done by resizing and putting them in five regions North, South, East, West and Center.