Question: Write a program to create a stack of books where each Book will contain the following attributes: BookISBN BookName Authors a . Create a method
Write a program to create a stack of books where each Book will contain the following attributes:
BookISBN
BookName
Authors
a Create a method to insert a new book into the stack and a method to display the details of all books in the stack.
b Can we use another data structure to store the list of books? If yes, Justify your answer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
