Solved

Which of the Following Adds a Border to the Following

Question 52

Multiple Choice

Which of the following adds a border to the following panel?
JPanel panel = new JPanel() ;


A) panel.addEtchedBorder() ;
B) panel.addBorder(new EtchedBorder() ) ;
C) panel.add(new EtchedBorder() ) ;
D) panel.setBorder(new EtchedBorder() ) ;
Title
Which statement adds a border to this panel?
type
mc

Correct Answer:

verifed

Verified

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

Related Questions