Introduction - If you have any usage issues, please Google them yourself
1. Design 2-3 specific goods (such as books class Book, Food Food, etc.) inherited the cargo class Item, increase member variables and member methods, override the parent class has a method printItemInfo () 2. 1) Design settlement Interface SettleAccount, define methods getAccount () 2) design SettleAccount interface class Customer and Member. Customer as an ordinary customer class, the settlement amount of shopping cart price Total+ Shipment eight yuan Member of the class members, the settlement amounted to cart price totaled 7 , no delivery fee. 3) design wins Class Order, define the class Cart Shopping Cart objects, SettleAccount interface variables, its members comprising: a constructor, set and get methods, print order information methods printOrderInfo () to output the shopping cart information and 3. In the main settlement amount Methods to achieve: 1) Define two orders Order object classes, and members of the general customer orders order1 orders order2, initialize variables