Objects
-
Very important topic!
-
Different from structured program.
-
Store multiple pieces of data.
-
Example: Car: color, make, model, year, VIN, etc.
-
Car.make, Car.model, Car.year
-
Methods act on data.
-
Car.move(pixels), Car.stop()
-
Also a major backbone of Java.
-
Do you remember an object and method we used in class?
Events
Home
Internet II: Day 2