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 |
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?
JVM responsibility?
What is a treeset in java?
Why to give the file name same as the public class name in java?
What does java ide mean?
How can I debug the Java security exceptions and AccessControlExceptions?
What is api data?
When is update method called?
What is the parse method in java?
what is the significance of listiterator in java?
What is the use of inner class?
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.