Why does the argument of the paintComponent method have type Graphics and not Graphics2D?

Question:

Why does the argument of the paintComponent method have type Graphics and not Graphics2D?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: