What is the relationship between the Canvas class and the Graphics class?
A Canvas object provides access to a Graphics object via its paint() method.
Explore posts in the same categories: Java Interview Questions