Search:

Type: Posts; User: copeg

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,364

    Re: Simple java method problem

    I'm not sure what you wish to run...both classes have a main method. Stick to a single main method and run the code from there.
  2. Replies
    5
    Views
    1,364

    Re: Simple java method problem

    See Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects) To call a method, you must call the method. For example, in the second to last piece of code, call run()...
Results 1 to 2 of 2