Explain the relationship between the Canvas and Graphics
class?
Answer Posted / amit singh(mca ,niet,grnoida)
relation between Canvas class and Graphics class is that
trugh paint() method Canvas object provides access to a
Graphics object via its paint()
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are different access specifiers in java?
What is string in java? String is a data type?
When will you define a method as static in Java?
What is stored procedure. How do you create stored procedure ?
What is treeset in java?
What is a two-pass assembler?
Which list does not allow duplicates in java?
What are the different ways of implementing thread? Which one is more advantageous?
What is static block?
What are the main uses of the super keyword?
What are exceptions
Define how can we find the actual size of an object on the heap?
What is method with example?
How is a variable stored in memory?
Why to use nested classes in java?