Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,212

    Re: Method not calling?

    Why not put a main() method in the Battle class and use that one main() method to start the execution of the program instead of having several Main classes?


    The posted code does not compile...
  2. Replies
    5
    Views
    1,212

    Re: Method not calling?

    Please rename the classes so that are not two Main classes.
    Then say which class and method doesn't do what you want it to do.


    Why not put a main() method in the Battle class and use that one...
  3. Replies
    5
    Views
    1,212

    Re: Method not calling?

    Which main() method are you talking about? I see two Main classes and they both have a main() method.
    One method has much fewer statements in it than the other.

    Having classes with the same name...
Results 1 to 3 of 3