previous |
start |
next
Objects and Classes
- Object: entity that you can manipulate in your programs (by
invoking methods)
- Each object belongs to a class
- Class: Set of objects with the same behavior
- Class determines legal methods
"Hello".println() // Error
"Hello".length() // OK
previous |
start |
next