Results 1 to 3 of 3
  1. #1
    hblake73 is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default Calling a method

    Hi,

    Can I call a method in "MyProgram.java" from "MyProgramTest.java" without using an object to call the method?

    Thanks,
    H

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    6

  3. #3
    hblake73 is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default Re: Calling a method

    Thank you! That is exactly what I need to know.

    Heather

Similar Threads

  1. calling on method
    By FREDISCO in forum New To Java
    Replies: 1
    Last Post: 03-28-2012, 12:08 AM
  2. Thread problem, calling method in run method
    By majk in forum Threads and Synchronization
    Replies: 4
    Last Post: 09-27-2010, 12:40 PM
  3. Calling The main method from another method
    By SwissR in forum New To Java
    Replies: 3
    Last Post: 07-27-2010, 12:03 PM
  4. calling method from main method
    By bob_bee in forum New To Java
    Replies: 4
    Last Post: 10-02-2009, 06:30 PM
  5. Replies: 29
    Last Post: 09-25-2008, 08:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •