Multiple choice technology programming languages

what are different types of layout managers available in java AWT?-

  1. FlowLayout

  2. BorderLayout

  3. CardLayout

  4. All the above

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

Java AWT provides multiple layout managers: FlowLayout (left-to-right wrapping), BorderLayout (5 regions), CardLayout (stack of panels), GridLayout (grid), GridBagLayout (flexible grid). All listed options are valid AWT layout managers.

AI explanation

Java AWT provides several built-in layout manager classes, including FlowLayout (left-to-right, wrapping), BorderLayout (five regions: north/south/east/west/center), and CardLayout (stacks components, showing one at a time). Since all three are valid AWT layout managers, "All the above" correctly captures the full set of options listed.