Solved

What Will Be the Result of Executing the Following Statement

Question 27

Multiple Choice

What will be the result of executing the following statement? panel.setBorder(BorderFactory.createLineBorder(Color.BLUE,5) ) ;


A) The JPanel referenced by panel will have a blue line border that is 5 millimeters thick.
B) The JPanel referenced by panel will have a blue line border that is 5 pixels thick.
C) The JPanel referenced by panel will have a blue line border that is 5 characters thick.
D) The JPanel referenced by panel will have a blue line border that is 5 inches thick.

Correct Answer:

verifed

Verified

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

Related Questions