Customer_order_Information:
Super Class: Customer_order
Attributes : Customer_name, Customer_Code,Street, City, Zip_code
Methods :
- Read the Customer_order details
- Display the Customer _order details
Sub class: Purchase_details
Attributes : Productno, Productname, Price, Quantity
Methods :
- Find the total number of products
- Find the total price of all products
- Display the Customer_order details and purchase_details.
The following information are
must be included in your solution(program):
Properties with proper data types
Methods with proper return types and scope
Demonstration of OOP feature (Inheritance)
Demonstration of OOP feature (polymorphism / Overriding)
Proper naming convention
Proper comments in each program and within program
Purpose of each code should be explained.
Program Execution (output)