MCQOPTIONS
Saved Bookmarks
| 1. |
An Applet has its Layout Manager set to the default of FlowLayout. What code would be the correct to change to another Layout Manager? |
| A. | setLayoutManager(new GridLayout()); |
| B. | setLayout(new GridLayout(2,2)); |
| C. | setGridLayout(2,2); |
| D. | setBorderLayout(); |
| Answer» C. setGridLayout(2,2); | |