Question: i need code in java programing language Customer and Invoice classes (Composition) Invoice Customer 1 -ID: int -customer: Customer -amount: double Discount rate in percent

i need code in java programing language i need code in java programing language Customer and Invoice classes (Composition)

Customer and Invoice classes (Composition) Invoice Customer 1 -ID: int -customer: Customer -amount: double Discount rate in percent +Invoice (ID: int, customer: Customer, amount:double) +getID(): int +getCustomer():Customer +setCustomer(customer:Customer):void +getAmount():String +setAmount (amount:double):void +getCustomerName():String +getAmountAfterDiscount():double -ID:int -name: String -discount:int +Customer(ID:int, name: String, discount:int) +getID(): int +getName():String +getDiscount(): int +setDiscount(discount:int):void +toString():String "name (ID)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!