Create a class named order that performs order processing


Create a class named Order that performs order processing of a single item that sells for $19.99 each.

o Create 4 Order class fields: order number, customer name, quantity ordered, and total price. Create public accessors for each field except total price.
o Create an Order class constructor that takes parameters for all of the class fields except total price.
o The total price field is calculated as quantity ordered times unit price (19.95) whenever the quantity is set, so it only needs a get accessor (read only). total = quantity * PRICEEACH
o Create an (override) Equals() method that determines two Orders are equal if they have the same order number.
o Create an (override) GetHashCode() method that returns the order number.
o Create an (override) ToString() method that returns a string containing all order information.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a class named order that performs order processing
Reference No:- TGS0661245

Expected delivery within 24 Hours