Define canvas?



Define canvas?..

Answer / Manoj Kumar Bharti

In Java, a Canvas is a class that provides a drawing surface for graphics. It is part of the Abstract Window Toolkit (AWT) and can be used to draw shapes, images, text etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?

3 Answers  


JVM responsibility?

6 Answers   TCS,


What is a treeset in java?

1 Answers  


Why to give the file name same as the public class name in java?

3 Answers  


What does java ide mean?

1 Answers  


How can I debug the Java security exceptions and AccessControlExceptions?

1 Answers   IBM,


What is api data?

1 Answers  


When is update method called?

1 Answers  


What is the parse method in java?

1 Answers  


what is the significance of listiterator in java?

1 Answers   IBS,


What is the use of inner class?

1 Answers  


class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

2 Answers   Yamaha,


Categories