Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2013
    Posts
    8
    Rep Power
    0

    Default pls help me to complete this code

    public class T{

    public String doIt(int x,int y){
    return a;
    }

    public String doIt(int.. vals){
    return b;
    }

    }



    T t=new T();

    System.out.println(t.doIt(2,3));

    System.out.println(t.doIt(2,3,4));

    System.out.println(t.doIt(2,3,4,5));

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,733
    Blog Entries
    7
    Rep Power
    21

    Default Re: pls help me to complete this code

    How can we complete your code without knowing what you want your code to do? Even then, there are myriads of ways to make some program code do something ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. I m new in java pls help me complete this code
    By michael wamicha in forum New To Java
    Replies: 4
    Last Post: 10-29-2013, 10:14 PM
  2. Replies: 2
    Last Post: 03-21-2013, 06:37 AM
  3. I need urgent help to complete this code please!
    By kenson02 in forum New To Java
    Replies: 3
    Last Post: 12-14-2011, 03:37 AM
  4. complete the code
    By blackz in forum New To Java
    Replies: 2
    Last Post: 09-11-2011, 03:04 AM
  5. Complete code won't run in eclipse
    By confusedStudent in forum New To Java
    Replies: 2
    Last Post: 12-19-2008, 09:43 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
  •