© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu

Home Placements Interview Questions Java Interview Questions And Answers Java Interview Questions On Applet and Swing ▼

Java Interview Questions On Applet and Swing

1. What is the immediate superclass of the Applet class?

Answer
Panel

2. Name three Component subclasses that support painting?

Answer
The Canvas, Frame, Panel, and Applet classes support painting.

3. What is the immediate superclass of the Dialog class?

Answer

Window

4. What is clipping?

Answer
Clipping is the process of confining paint operations to a limited area or shape.

5. What class is the top of the AWT event hierarchy?

Answer
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy

6. What is the immediate superclass of Menu?

Answer
MenuItem

7. Which class is the immediate superclass of the MenuComponent class?

Answer
Object

8. In which package are most of the AWT events that support the event-delegation model defined?

Answer
Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package

9. Name three subclasses of the Component class

Answer
Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, or TextComponent

Next
1 2 3 4 5
SLogix Student Projects
bottom