Java AWT Question and Answers

5. What are the component and container class?
  A component is a graphical object. A few examples of components are
  • Button
  • Canvas
  • Checkbox
  • Choice etc.
 
Your Name Your Email-ID
Your Answer
6. What is the use of the window class?
 
  • The window class can be used to create a plain, bare bones window that does not have a border or menu.
  • The window class can also be used to display introduction or welcome screens.
 
Your Name Your Email-ID
Your Answer
7. What is clipping?
  Clipping is the process of confining paint operations to a limited area or shape.
 
Your Name Your Email-ID
Your Answer
8. What is the parameter specification for the public static void main method?
 
  • String args []
  • String [] args
 
Your Name Your Email-ID
Your Answer
12345678910 Page 2 of 10