Solved

If Panel References a JPanel Object, Which of the Following

Question 39

Multiple Choice

If panel references a JPanel object, which of the following statements adds the GridLayout to it?


A) panel.setLayout(new (GridLayout(2,3) ) ;
B) panel.addLayout(new (GridLayout(2,3) ) ;
C) panel.GridLayout(2,3) ;
D) panel.attachLayout(GridLayout(2,3) ) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions