Search:

Type: Posts; User: RoshanDiMatteo

Search: Search took 0.07 seconds.

  1. Thread: Stacks

    by RoshanDiMatteo
    Replies
    3
    Views
    1,434

    Re: Stacks

    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...
  2. Thread: Stacks

    by RoshanDiMatteo
    Replies
    3
    Views
    1,434

    Stacks

    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 //***
Results 1 to 2 of 2