Class Members
Important concepts
- local variable, instance variable, static variable / class variable
- static method / class method
- dependency
- is-a vs. has-a
- The special “this” variable
- types of testing
Things to consider (exercises for yourself, not to turn in)
- If you program a class and you do not code a constructor, does the class have a constructor? (OK, this one is from the tail end of 5.4 on last reading, but it’s good to revisit.)
- Describe in your own words the difference between static (class) and non-static (instance) methods.
- In what situations might method overloading be helpful?
Your response
What was particularly interesting, confusing, or exciting to you in this reading?\