Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Forming Multiple Methods - please help explain this for a newbie?

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Forming Multiple Methods - please help explain this for a newbie?

    Hello everybody,

    I've been reading a book that teaches Java for a while now and I've hit a page that I just don't understand: the reason being that the book doesn't explain what is going on well enough. The code prints three lines, where the body of the lines consist of Strings that are being 'returned' from other methods. Could someone please explain what 'overloading' is, and what Return is doing here.

    Thanks
    1.jpg
    2.jpg


  2. #2
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

    Default Re: Forming Multiple Methods - please help explain this for a newbie?

    Consult The Really Big Index for topics that confuse you. Specifically Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)

Similar Threads

  1. Multiple newbie issues
    By DaggeTeo in forum What's Wrong With My Code?
    Replies: 7
    Last Post: May 3rd, 2012, 08:29 AM
  2. JOptionPane menu and multiple methods
    By kubera in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 3rd, 2012, 07:03 PM
  3. Multiple methods in the same inner class?
    By tommyf in forum What's Wrong With My Code?
    Replies: 12
    Last Post: January 24th, 2012, 01:10 PM
  4. newbie question about Abstract methods
    By FailMouse in forum Java Theory & Questions
    Replies: 3
    Last Post: August 10th, 2010, 11:51 PM
  5. Completely Lost in this problem(multiple methods)
    By wacarter in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 31st, 2010, 04:44 PM