Search:

Type: Posts; User: Norm

Search: Search took 0.29 seconds.

  1. Thread: Class heirarchy

    by Norm
    Replies
    14
    Views
    1,403

    Re: Class heirarchy

    You need to copy the full text of the error message and paste it here. What you posted left out what symbol was not found.
    Please copy full text of the compiler's error message and paste it here.
    ...
  2. Thread: Class heirarchy

    by Norm
    Replies
    14
    Views
    1,403

    Re: Class heirarchy

    If you get errors, copy the full text and paste it here.
  3. Thread: Class heirarchy

    by Norm
    Replies
    14
    Views
    1,403

    Re: Class heirarchy

    If King extends ChessPiece then that is expected.

    Can you copy a section of the stack trace, enough to show the looping and paste it here so we can see how the calls are being made.


    That does...
  4. Thread: Class heirarchy

    by Norm
    Replies
    14
    Views
    1,403

    Re: Class heirarchy

    Could you explain where the recursion is? If a piece, say a King, extends ChessPiece and an instance of a King is created, where is the loop?
Results 1 to 4 of 4