Java Design Patterns Question:

Explain about particle canvas?

Java Patterns Interview Question
Java Patterns Interview Question

Answer:

Particle canvas is a sub class of java.awt. Canvas this class provides a drawing area for all the particles. Whenever a paint method is called it invokes draw for all the existing particles. It cannot create object or particles by itself. Existingparticle objects are stored in the array of instance variable particles.


Previous QuestionNext Question
Explain about state dependence?Explain about closed subsystems?