Abstract Window Toolkit (AWT) Question:

Download Job Interview Questions and Answers PDF

What is Canvas?

AWT Interview Question
AWT Interview Question

Answer:

Canvas is a Component subclass which is used for drawing and painting. Canvas is a rectangular area where the application can draw or trap input events.

Download AWT Interview Questions And Answers PDF

Previous QuestionNext Question
What are the features of JFC?What is the difference between the paint() and repaint() methods?