The ImageIcon class constructor accepts:

A) an integer that references the image
B) a String argument which is the name of the image file
C) a String argument which is the name of the image
D) It does not accept any arguments.

B) a String argument which is the name of the image file

Computer Science & Information Technology

You might also like to view...

Which statement is false?

a) Function rand generates an integer between 0 and MAX. b) The range of values produced directly by rand is often different than what is needed in a specific application. c) The number 6 in the expression rand % 6 is called a scaling factor. d) The rand function prototype is in .

Computer Science & Information Technology

Access to databases is usually open to anyone within an organization or business.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology