In fact
1.I have created a Book class which contains the above book attributes and accessor methods.
2.Then, I created the BookApp class where I input the values for attributes and create an object...
Type: Posts; User: RoshanDiMatteo
In fact
1.I have created a Book class which contains the above book attributes and accessor methods.
2.Then, I created the BookApp class where I input the values for attributes and create an object...
in this code snippet
public void push(Book book) {
if(size() == capacity)
doubleStackArray();
stack[++top] = book;//***
if i want to push a a Book object, I am stuck at //***