Search:

Type: Posts; User: Leprechaun_hunter

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,365

    Re: Simple java method problem

    Okay... So I finally got it to work. I don't know though if this is the appropriate way of doing it.
    Here's my code, please tell me what you think.

    Main class:

    public class Test extends...
  2. Replies
    5
    Views
    1,365

    Re: Simple java method problem

    I tried to do it this way but it still wont work.

    Main class:

    public class Test
    {
    public static void main(String args[])
    {
    System.out.println("hello Im the Test Class!");
    }
  3. Replies
    5
    Views
    1,365

    Simple java method problem

    I have a problem with my program. I am trying to call a method from a secondary class in the main class.
    Whenever I debug the Test class I only get the text output "hello, Im the Test class!" or...
Results 1 to 3 of 3