Which of the following argument is the third argument passed to the constructor of the FlowLayout?
-
Int horizontalGap
-
Int VerticalGap
-
Int Alignment
-
Int Rows
-
Int Columns
B
Correct answer
Explanation
This is the correct answer, we can pass 3 arguments to the FlowLayout constructor. These 3 arguments are :-FlowLayout(int alignment, int horizontalgap, int verticalgap)Alignment:- it can be FlowLayout.LEFT, FlowLayout.RIGHT or FlowLayout.CENTERHorizontalgap : - it specifies the horizontal gap between the components.Verticalgap : - It specifies the vertical gap between the components.So the third argument is VerticalGao, so this answer is correct.