What is the third argument passed to the Constructor of BorderLayout?
-
Int alignment
-
Int horizontalGap
-
Int VerticalGap
-
Int Rows
-
None of these
E
Correct answer
Explanation
This is the correct answer we can pass maximum 2 arguments to the BorderLayout Constructor. These arguments are :-BorderLayout(int horizontalgap, int verticalgap)This will create a BorderLayout with specified horizontal and vertical gap between the components.There is no third argument.So this is the correct answer.