Abstract Window Toolkit (AWT) Question:
Download Questions PDF

What is Canvas?

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?