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


Please Help Members By Posting Answers For Below Questions

How does java pattern compile work?

551


What is the unit of plancks constant?

575


What does string intern() method do?

590


What about main() method in java ?

568


What are Normalization Rules? Define Normalization?

551






What are different types of inner classes ?

567


How many types of flags are there?

527


explain what is transient variable in java?

630


What are synchronized methods and synchronized statements in java programming?

579


What is yield () in java?

484


What access modifiers can be used for class ?

546


How to create a base64 decoder in java8?

560


What is the main function in java?

533


Is string is a data type?

571


Can we sort arraylist in java?

565