Multiple choice technology programming languages

The BorderLayout class provides static fields for

  1. Introducing new methods

  2. Adding components to specific areas of a container

  3. Starting an applet

  4. Specifying font size and color

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

BorderLayout is a layout manager in Java AWT and Swing that divides a container into five regions: NORTH, SOUTH, EAST, WEST, and CENTER. Its static fields (like BorderLayout.NORTH) allow adding components to these specific areas, providing structured GUI layout.