Programming - AWT

You Are Here :: Home > JAVA > AWT - General Questions

 
19.

The default layout for a Panel is ___________________                         


A. FlowLayout B. Grid Layout
C. Box Layout D. Group Layout




20.

An Applet is a Panel.Therefore, the default layout for a Applet is _____________________                         


A. FlowLayout B. Grid Layout
C. Box Layout D. Group Layout




21.

Use add(component); to add to a component when using a ___________________________                         


A. FlowLayout B. Grid Layout
C. Box Layout D. Group Layout




22.

How to Create a Panel?                         


A. Panel p = new Panel(); B. Panel= new Panel();
C. Panel p =Panel(); D. Panel p =Panel();




23.

The _______________________ manager divides the container up into a given number of rows and columns                         


A. FlowLayout B. Grid Layout
C. Box Layout D. Group Layout




24.

To associate an action with a component, attach a ______________________ to it                         


A. Listeners B. Contianers
C. Frames D. Boxes




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on