Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    2,506

    Re: Trouble adding exceptions to fixed queue class

    A runtime exception does not come from the compiler.

    Take the calls to System.out.println() out of the interface definition.

    If you use a compiler with your code, you would get these error...
  2. Replies
    5
    Views
    2,506

    Re: Trouble adding exceptions to fixed queue class

    The way I find bugs in code is by adding printlns to show the values of the variables as the code executes and to show execution flow. If you know how the program is supposed to execute, then looking...
Results 1 to 2 of 2