

McqMate
Q. |
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» B. setLayout(new GridLayout(2,2));. |
View all MCQs in
Java ProgrammingNo comments yet