CPSC 2150 - DAY 19 NOVEMBER 1, 2016 ================================================================================ TEST REVIEW ----------- .Why Interfaces? .Why abstraction? .Why Inheritance? .Why Secondary Operations? .Why Generics? .Ineritance, how in Java? .Why use abstract classes? .How to write generics? .Write a formal contract. .Write test cases given a formal contract. .Write generic code for a primary operation that meets given correspondence and invariants .Write generic code for a secondary operation using inheritance .Formal Reasoning