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: Using constructors incorrectly?

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using constructors incorrectly?

    I am not sure if I am using constructors correctly.
    I am I think I am using it incorrectly in my getpaymultipler method.
    Also how can I display the elements of the constructor individually? When I print the constructor itself it prints nothing.


  2. #2
    Member angstrem's Avatar
    Join Date
    Mar 2013
    Location
    Ukraine
    Posts
    200
    My Mood
    Happy
    Thanks
    9
    Thanked 31 Times in 29 Posts

    Default Re: Using constructors incorrectly?

    Can you post the code? I don't understand what are you talking about.

Similar Threads

  1. Help with methods and constructors please!
    By Xeenix in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 8th, 2013, 09:43 PM
  2. get a help about multiple constructors
    By Heshan Sandamal in forum Java Theory & Questions
    Replies: 2
    Last Post: December 1st, 2012, 03:04 PM
  3. [SOLVED] if statement incorrectly comparing strings
    By Pantheon8 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 14th, 2011, 08:59 PM
  4. Constructors
    By av8 in forum What's Wrong With My Code?
    Replies: 6
    Last Post: July 19th, 2011, 06:40 PM
  5. [SOLVED] Overloading constructors(Multiple Constructors)
    By chronoz13 in forum Java Theory & Questions
    Replies: 2
    Last Post: May 11th, 2011, 12:55 PM