1 2 3 4 |
public String toString() { return "Class[var1 : " + this.var1 + ", var2: "+this.var2 +"]"; } |
Unit 4 Objects && ArrayList
Unit 5 : Objects Continued
- Unit Goal : What structures in Java exist that can best support advanced relationships between classes?
- Rectangle, Triangle
- Circle?
- Polygon , Shape ?
- Superclasses are great I
- Superclasses are Great II
- What is ‘inherited’ by subclasses?
- The Circle
- Account Assignment
- Bank Class