Test Your Knowledge on Maze Generator

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

1

What method should you put drawing statements in if you want to draw lines, circles, rectangles, images, and other text in a JPanel object?

A)

repaint()

B)

paintComponent()

C)

draw()

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.