Java AWT Interview Questions and Answers - 2
Question: 6
What are AWT peers?
A component is associated with a standard AWT button object, a peer object and an interfacing button object constructed per the native GUI.
Question: 7
What are the component and container class?
A component is a graphical object. A few examples of components are
Button
Canvas
Checkboc
Choice etc.
Question: 8
What interface is extended by AWT event listener?
The java.util.EventListener interface is extended by all the AWT event listeners.
Question: 9
What is paint method?
The AWT uses a Callback mechanism for painting which is the same for heavyweight and lightweight components.
Question: 10
What is the difference between a window and a frame?
The Frame class extends Window to define a main application window that can have a menu bar.
GATE Chemical Engineering Questions and Answers More
GATE 2024-2025 Question Paper Pdf Download More
Banking Awareness Questions 2024-2025 More
Computer Quiz Questions for Bank Exams More
Computer Quiz Questions for Bank Exams More
Synonyms and Antonyms Worksheet Pdf More
Vedic Age MCQ Questions and Answers Pdf More
100+ Simplification Questions for SBI, IBPS PO, SO, Clerk Pdf More
Star Office Interview Questions and Answers More
Indian Politics Gk Online Test More