Question: Creating a class called Book and make sure it has at least the following variables: title, date of publication, author and type also the book
Creating a class called Book and make sure it has at least the following variables: title, date of publication, author and type also the book class must have the display method which shows all its attributes. Create another class called Student. Create an object of book class in student class print out the display() on student class. Make sure you use Book class as data type in student class
Step by Step Solution
There are 3 Steps involved in it
Sure heres an example of how you can create a Book class and a Student class in Python where the Stu... View full answer
Get step-by-step solutions from verified subject matter experts
