Buy 2+, save 55% on books & eBooks through December 1. Use code BOOKSGIVING. Learn more.
Lesson 4 builds on the techniques from Lesson 3 by adding in three more capabilities: overloading, inheritance, and the toString method. More importantly, it discusses two programming strategies for making your code flexible and reusable: encapsulation and the use of JavaDoc.