Download presentation
Presentation is loading. Please wait.
Published byIsabella McDowell Modified over 9 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.