To create an Image object from an ImageIcon object imageIcon, use the __________ method.

To create an Image object from an ImageIcon object imageIcon, use the __________ method.


A. imageIcon.image()
B. imageIcon.getImage()
C. imageIcon.setImage()
D. imageIcon.returnImage()

The correct answer is B


Java

Learn More Multiple Choice Question :