Multiple choice

In JAVA, the default layout of a frame is

  1. grid layout

  2. flow layout

  3. card layout

  4. border layout

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

In Java AWT, the default layout manager for a Frame is BorderLayout (5 regions: North, South, East, West, Center). FlowLayout arranges components left-to-right, GridLayout divides into equal grid cells, and CardLayout shows one component at a time. BorderLayout is the Frame's default.