Multiple choice

How many different types of layouts are supported by Java?

  1. 2

  2. 3

  3. 4

  4. 5

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

Java AWT supports 5 layout managers: BorderLayout, FlowLayout, GridLayout, CardLayout, and GridBagLayout. These are the standard layouts for arranging components.