Multiple choice

JPanel p1 = new JPanel()

What is the default Layout Manager of panel p1 that we have created?

  1. BorderLayout

  2. CardLayout

  3. FlowLayout

  4. GridLayout

  5. BoxLayout

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

This is the correct answer.