invoking method by name

Discussion in 'Java' started by imran, Feb 2, 2005.

  1. imran

    imran Guest

    hi,

    Thanks Mr Thomas, i have try your suggestion to use this code:

    int gggg(Double d, String s)
    ...
    partypes[0] = Double.class;
    partypes[1] = String.class;
    ...
    arglist[0] = new Double(37.123);
    arglist[1] = "efgebeasqaff";

    There are some error at return value. How can i modify the code to
    display value String and Double because there some error to return
    this value. If i use integer, its running well. I welcome everybody
    who know the solution.

    Thank you..
     
    imran, Feb 2, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. garfield
    Replies:
    3
    Views:
    496
    John C. Bollinger
    Oct 30, 2003
  2. ding feng
    Replies:
    2
    Views:
    2,877
    ding feng
    Jun 25, 2003
  3. LC's No-Spam Newsreading account

    invoking a java application by name

    LC's No-Spam Newsreading account, Feb 23, 2007, in forum: Java
    Replies:
    7
    Views:
    352
    LC's NoSpam Newsreading account
    Feb 27, 2007
  4. Andy Fish
    Replies:
    7
    Views:
    88
    Andy Fish
    Aug 13, 2003
  5. Justin C

    Get name of user invoking program?

    Justin C, Aug 4, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    83
    David Squire
    Aug 5, 2006
Loading...

Share This Page