Presentation is loading. Please wait.

Presentation is loading. Please wait.

ITK 168 Section 13 Dr. Doug Twitchell.

Similar presentations


Presentation on theme: "ITK 168 Section 13 Dr. Doug Twitchell."— Presentation transcript:

1 ITK 168 Section 13 Dr. Doug Twitchell

2 Classes and Objects Cell Phone 1 Cell Phone 2 Commands Call number
Receive call Save number Attributes Verizon CDMA Silver off Commands Call number Receive call Save number Attributes T-Mobile GSM Silver on Pictures from

3 Class Diagrams Visually define a class CellPhone carrier networkType
color powerStatus CellPhone(carrier, networkType, color) getCarrier() getNetworkType() getColor() turnOn() turnOff() Visually define a class Class name Attributes Constructor Services

4 Class Diagram for the Robot
int street int avenue Direction direction ThingBag backpack Robot(City aCity, int aStreet, int anAvenue, Direction direction) void move() void turnLeft() void pickThing() void putThing()

5 Documentation Robots documentation Java documentation
Java documentation

6 Homework Modify DeliverParcel so that the robot picks up and puts down two different things. The things should be picked up and put down at least three intersections apart. Bring a print out of your program to class on Tuesday.


Download ppt "ITK 168 Section 13 Dr. Doug Twitchell."

Similar presentations


Ads by Google