Explain the relationship between the Canvas and Graphics
class?



Explain the relationship between the Canvas and Graphics class?..

Answer / 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

More Core Java Interview Questions

write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard.

0 Answers   Axcend,


what is the difference between static class and singleton class? can we create static class?

2 Answers   L&T, Octazen, Vamsi Labs,


What is 16 bits called?

0 Answers  


What are three types of loops in java?

0 Answers  


How does serialization work

3 Answers   Ordain Solutions,






Mention some features of java?

0 Answers  


What is object class in java?

0 Answers  


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

0 Answers  


Which Math method is used to calculate the absolute value of a number?

3 Answers   Accenture,


What is aggregation?

1 Answers   Cap Gemini,


Why does java have different data types for integers and floating-point values?

0 Answers  


How will you add panel to a frame?

0 Answers  


Categories