Method Tables
Shape
Rect
draw()
toString()
setText()
draw()
Drawable
draw()
Grid
draw()
setOrigin()
setColor()
Object
clone()
...
wait()
Shape myShape = new Rect ();
myShape.draw();
Drawable myDr = myShape;
myDr.draw();
myDr = new Grid();
myDr.draw();
ptr to clone()
ptr to equals()
ptr to ………
ptr to toString()
ptr to draw()
ptr to setOrigin()
ptr to setColor()
ptr to setText()
Method Table for
Rectangle Object
Object.class
Shape.class
Rect.class
Previous slide
Next slide
Back to first slide
View graphic version