Solved

If Panel References a JPanel Object, Which of the Following

Question 7

Multiple Choice

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


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

Correct Answer:

verifed

Verified

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

Related Questions