Multiple choice

The default layout for applets is

  1. grid layout

  2. card layout

  3. grid bag layout

  4. flow layout

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

FlowLayout is the default layout manager for Applet (and Panel) in Java AWT. It arranges components in a left-to-right, top-to-bottom flow, similar to text in a paragraph. When a row fills up, components wrap to the next line. GridLayout, CardLayout, and GridBagLayout must be explicitly set and are not the default for applets.