Important Java Mcq 1

What is the default layout manager for an Applet?

a. FlowLayout

b. BorderLayout

c. GridLayout

d. CardLayout

Answer:

a. FlowLayout

Explanation

The flow layout is the default layout manager for all panel objects and applets. It places the panel components in rows according to the width of the panel and the number and the size of the components.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?