Search:

Type: Posts; User: adnan.alvee

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,359

    Re: Need help with my POP method!!!

    yeah, I can do that, but if I do that,
    char stackContent shows me error,


    char stackContent;
    stackContent = theStack.pop();

    how can i put whatever is in pop which is...
  2. Replies
    11
    Views
    1,359

    Re: Need help with my POP method!!!

    Aint I close? I jst need the return statement to work below, tried casting charElement into return entry since it is char type !, nope doesn't work! But the code makes sense?

    public char pop()...
  3. Replies
    11
    Views
    1,359

    Re: Need help with my POP method!!!

    Here is my code, all the classes are in here, you can skip stackexception and strelement(does nothing - to be deleted) classes: https://compilr.com/xemkruz/linkedstach/LinkedStack.java

    How can i...
  4. Replies
    11
    Views
    1,359

    Re: Need help with my POP method!!!

    This what I did, it says incomaptible data types, the real questions is how do I convert? I do have a getCopy method in my char element class. So far thw wrong code is below,


    public char pop()...
  5. Replies
    11
    Views
    1,359

    Re: Need help with my POP method!!!

    should the code save what is returned by the pop() method?
    Yes, it should save whatever its taking off, at least that is what I'm guessing because see on my tester below, I want to store whatever it...
  6. Replies
    11
    Views
    1,359

    Need help with my POP method!!!

    I have LinkedStack class, what I simply want to do is make a delimiter match alogorithm, I also have the working algorithm for it but the problem is implementing the algorithm . I'm just stuck in my...
Results 1 to 6 of 6