The InvoiceItem Class A class called Invoiceltem, which models an item of an invoice, with ID. description, quantity and
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The InvoiceItem Class A class called Invoiceltem, which models an item of an invoice, with ID. description, quantity and
The InvoiceItem Class A class called Invoiceltem, which models an item of an invoice, with ID. description, quantity and unit price, is designed as shown in the following class diagram. Write the Invoiceltem class InvoiceItem - id: String - desc: String -qty:int -unitPrice: double +InvoiceItem(id:String, desc:String, qty:int, unitPrice: double) +getID(): String +getDesc():String +getQty(): int +setQty(qty:int) : void +getUnitPrice(): double +setUnitPrice(unitPrice:double):void +getTotal(): double القطع *السعر
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!