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 //***
sorry about last post, i won't repeat next time, but a simple question, is it possible to push objects on stacks? and what do i need to modify in my push method in Stack class?
sorry about last post, i won't repeat next time, but a simple question, is it possible to push objects on stacks? and what do i need to modify in my push method in Stack class?
-------------------------------------------------------------------------------------------------------------------
I am a beginner in Java
In fact
1.I have created a Book class which contains...
Write a program that keeps the following information on books:
• Book title
• Barcode
• Author Name
• Price
• Edition
Books from ten different authors need to be piled in such a way that the...