Question: write java code(oop) plz :) Book 1 Author name: String author:Author -price:double has name:String -email:String gender:char qty: int = 0 +Book (name: String, author: Author,

 write java code(oop) plz :) Book 1 Author name: String author:Author

write java code(oop) plz :)

Book 1 Author name: String author:Author -price:double has name:String -email:String gender:char qty: int = 0 +Book (name: String, author: Author, price:double) +Book (name: String, author: Author, price:double,qty:int) +getName ():String +getAuthor) :Author +getPrice():double +setPrice(price:double) :void +getQty() :int +setQty(qty:int):void +toString() :String "Book [name-?,Author[name-?,email-?,gender-?],price-?,qty-?]" You need to reuse Author's toString()

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!