Test Your Knowledge on Sliding Tiles

Quiz yourself to assess the knowledge you gained in the chapter.

1

What JButton method should you call to put an image on a button?

A)

setIcon()

B)

setImage()

C)

setBufferedImage()

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.