Solved

An Applet Has Its Layout Manager Set to the Default

Question 21

Multiple Choice

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() ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions