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 -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
Get step-by-step solutions from verified subject matter experts
