Results 1 to 2 of 2
  1. #1
    storm88 is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default invoke object in another class

    I try to make class and use some methods , and I use same name with two methods one of them is static other is non - static. In the question non static method use calling object and single argument .I try to it but program runs but do not know calling object and their variables values how to solve it?

  2. #2
    jammas615 is offline Senior Member
    Join Date
    Jul 2011
    Melbourne, Victoria, Australia
    Rep Power

    Default Re: invoke object in another class

    Let me get this straight. You have two methods, that are exactly the same, one is static the other is non-static?
    If you are calling a method with a single argument in its parameters. In the call, your need to specify a value for it.

Similar Threads

  1. Replies: 2
    Last Post: 01-20-2014, 07:45 AM
  2. How to invoke method present in abstract class?
    By java_no1 in forum New To Java
    Replies: 3
    Last Post: 06-01-2011, 07:13 AM
  3. Replies: 3
    Last Post: 05-02-2011, 04:37 AM
  4. Invoke field of a running object
    By hura in forum New To Java
    Replies: 8
    Last Post: 12-14-2010, 03:40 PM
  5. onchange invoke java object method and submit form
    By marckamga in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 10-14-2010, 06:26 AM

Posting Permissions

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