Results 1 to 3 of 3

Thread: Overloading?

  1. #1
    padutch2 is offline Member
    Join Date
    Nov 2007
    Location
    Hershey, PA
    Posts
    13
    Rep Power
    0

    Default Overloading?

    Can someone tell me how overload a method. thanks
    ~Live as if you were to die tomorrow.~

  2. #2
    staykovmarin is offline Senior Member
    Join Date
    Nov 2007
    Location
    Newport, WA
    Posts
    141
    Rep Power
    0

    Default

    Java Code:
    public void getResult() {};
    public void getResult(String s) {};
    public void getResult(int i) {};

  3. #3
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

Similar Threads

  1. Method/Operator Overloading
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-01-2007, 09:33 PM
  2. Overloading methods dynamically
    By Syed.muddasir in forum New To Java
    Replies: 6
    Last Post: 07-31-2007, 03:34 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
  •