PRODUCT SUPPORT ANNOUNCEMENT
See the latest about COVID-19 shipping availability and video/Web Edition load errors. Learn more.
Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Demonstrating Polymorphic Behavior—Assigning superclass and subclass references to superclass and subclass variables
Abstract Classes and Methods
Case Study: Payroll System Using Polymorphism
Abstract Superclass Employee
Concrete Subclass SalariedEmployee
Concrete Subclass HourlyEmployee
Concrete Subclass CommissionEmployee
Indirect Concrete Subclass BasePlusCommissionEmployee
Polymorphic Processing, Operator instanceof and Downcasting
final Methods and Classes
Creating and Using Interfaces (Java SE 7 and earlier)
Developing a Payable Hierarchy
Modifying Class Employee to Implement Interface Payable
Modifying Class SalariedEmployee for Use in the Payable Hierarchy
Using Interface Payable to Process Invoices and Employees Polymorphically
Java SE 8 Interface Enhancements overview