Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    5
    Views
    1,169

    Re: How To Add a Method/Demo?

    You will need to move all the code out of the main() method.

    The way the class is now coded, there is no sense in having another class to test it.
  2. Replies
    5
    Views
    1,169

    Re: How To Add a Method/Demo?

    Why?
    If the code does all it's supposed to as it is now, what would a Demo do?

    The code has one method: main(). There is not any meaningful way to have another class go with it.
  3. Replies
    5
    Views
    1,169

    Re: How To Add a Method/Demo?

    what happens when you compile the class? Any errors?
    What happens when you execute the class? Any errors?
    Does it do what you want?

    The class has a main() method and shouldn't need another...
Results 1 to 3 of 3