In Chapter 2 I learned about Object-Oriented Developement in Java. OO lets you add onto code that already works, and keeps it nice and organized. Some of the things I learned are that ojects "talk" to each other by calling methods in each other. When java runs, it's nothing more than object 'talking' to each other. All java code is defined as a class. Instance variables are things the object knows about itself. They represent the state of the object, and a class is like a blueprint.
No comments:
Post a Comment