Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMP 3063. Object Oriented Descriptions Human Body Components Heart Actions Walking Remaining Alive Actions Components pumping Class Human Body Attributes.

Similar presentations


Presentation on theme: "COMP 3063. Object Oriented Descriptions Human Body Components Heart Actions Walking Remaining Alive Actions Components pumping Class Human Body Attributes."— Presentation transcript:

1 COMP 3063

2 Object Oriented Descriptions Human Body Components Heart Actions Walking Remaining Alive Actions Components pumping Class Human Body Attributes height, HeartHeight, weight Methods walking() Class Heart Attributes size Methods pumping() Building an OO Model

3 Moholy-Nagy Rote Collage

4 Malevich Red Square Black Square

5 Moholy-Nagy Gefuehlsmaschine

6 Kandinsky Happy Structure

7 Kandinsky Circles in Circle

8 DisplayCanvas Task1GUI SimpleShape Task 1

9 Diagrammatic Summary

10 Inheritance overloading inheritance

11 public class SimpleShape { public double x,y; public double width, height; public Color color; private double hue; private Shape myShape; public SimpleShape(double xx,double yy,double wwidth, double height, double hhue) { this.hue = hhue; this.x = xx; this.y = yy; this.width = wwidth; this.height = hheight; … } Parameters


Download ppt "COMP 3063. Object Oriented Descriptions Human Body Components Heart Actions Walking Remaining Alive Actions Components pumping Class Human Body Attributes."

Similar presentations


Ads by Google