Multiple choice

What is the third argument passed to the Constructor of BorderLayout?

  1. Int alignment

  2. Int horizontalGap

  3. Int VerticalGap

  4. Int Rows

  5. None of these

Reveal answer Fill a bubble to check yourself
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.