How many constructors are present of BorderLayout in java?
D
Correct answer
Explanation
This is correct answer because there are two constructors of borderlayout are present in java. These are:- BorderLayout():- creates a default borderlayout. BorderLayout(int hgap, int vgap):- create a borderlayout with specified horizontal and vertical gap between the components. So, this answer is correct.