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:

Verified
Correct Answer:
Verified
Related Questions
Q15: Which of the following creates a List
Q16: What is a listener in context to
Q17: java.awt.Component class method getLocation() returns Point (containg
Q18: State true or false<br>(i) Java RMI supports
Q19: Which one of the following does not
Q20: Which of these events will be generated
Q22: What is default layout manager for panels
Q23: Which of the following methods finds the
Q24: How do you change the current layout
Q25: State true or false<br>(i) JPanel is a