Questions
How many maximum arguments can be passed to the FlowLayout constructor?
- 5
- 4
- 3
- 2
- 1
How many maximum arguments can we pass to the GridLayout constructor?
- 6
- 5
- 4
- 3
- 2
How many layout managers are present in Java?
- 10
- 9
- 8
- 7
- 6
What is the third argument passed to a constructor of Font class?
- Int Size
- String name
- Int Style
- Int Alignment
- Int Colour
Which of the following helper classes is/are not associated with Java AWT?
- LayoutManager
- Colour
- Font
- Dimensions
- Graphics
What is the third argument passed to the constructor of GridLayout?
- Int Rows
- Int Columns
- Int HorizontalGap
- Int VerticalGap
- Int Alignmnent
Which of the following is the third argument passed to the constructor of FlowLayout?
- Int HorizontalGap
- Int VerticalGap
- Int Alignment
- Int Rows
- Int Columns
How many maximum arguments can be passed to the BorderLayout constructor?
- 5
- 4
- 3
- 2
- 1
Which of the following is a helper class in Java AWT?
- Window
- Applet
- Panel
- Dimension
- Dialog
How many container classes are there in Java AWT?
- 6
- 5
- 4
- 3
- 2
What is the third argument passed to the constructor of BorderLayout?
- Int Alignment
- Int HorizontalGap
- Int VerticalGap
- Int Rows
- None of these
What is the second argument passed to the constructor of GridLayout?
- Int Rows
- Int Columns
- Int HorizontalGap
- Int VerticalGap
- Int Alignment
How many constructors are there in CardLayout?
- 5
- 4
- 3
- 2
- 1
JPanel p1 = new JPanel()
What is the default Layout Manager of panel p1 that we have created?
- BorderLayout
- CardLayout
- FlowLayout
- GridLayout
- BoxLayout
How many arguments are passed to the constructor of Font class?
- 5
- 4
- 3
- 2
- 1