Abstract Window Toolkit (AWT) Question:

What is Canvas?

Tweet Share WhatsApp

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 PDF Read All 41 AWT Questions
Previous QuestionNext Question
What are the features of JFC?What is the difference between the paint() and repaint() methods?