0

can anyone solve this please

The class Book contains: ■ The data fields name and price. ■The constructor to initialize the data fields. ■ The setter and getter methods. ■ A method named show that displays the book’s information. The class Author contains: ■ The data fields name, email, gender, and collection Books-objects. ■ The constructor to initialize the data fields. ■ The setter and getter methods. ■ A method named showdata that displays the author’s information and his/her book information. ■ A method named books_number that returns the number of books this author has.  Write a main program to test your classes

19th May 2020, 11:35 PM
Ayah Tarek
Ayah Tarek - avatar
3 Answers
+ 4
ÙˆŰ§ŰŹŰš منŰČÙ„ÙŠŰŸŰŸ show your try first!
21st May 2020, 7:26 PM
Ahlin Chan
Ahlin Chan - avatar
0
java program example
19th May 2020, 11:35 PM
Ayah Tarek
Ayah Tarek - avatar