Home »
MCQs »
Java Swing MCQs
The ____ function is used to specify the layout of a container
33. The ____ function is used to specify the layout of a container.
- UseLayeout()
- setLayout()
- layout()
- DesignLayout()
Answer: B) setLayout()
Explanation:
The setLayout() function is used to specify the layout of a container.