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: Super-beginner needs help! URGENT

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

    Default Super-beginner needs help! URGENT

    I'm taking a class at school for java programming, my class starts in three hours and I can skip it and go home now if I finish this assignment.

    This is a "Yahtzee" program, it gives you 5 numbers, and the program lets you know if you get "a full house" or something, (3 same numbers and 2 same numbers). This is on a super-beginner state so I was able to ask the user to write the numbers for me to put in regular integers. But now I need to see if these integers are three and two the same. But how?

    I'm not in the mood to sit here for three hours so I'd like a quick reply please?

    Sorry for my bad english and my super-beginner java skills


  2. #2
    Junior Member
    Join Date
    Mar 2012
    Location
    Dublin, Ireland
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Super-beginner needs help! URGENT

    Use == to see if they are the same.

Similar Threads

  1. beginner-urgent java help needed
    By joeyyusiyi22 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 28th, 2011, 10:43 AM
  2. Super Keyword
    By shruthi in forum Java Theory & Questions
    Replies: 12
    Last Post: October 13th, 2011, 03:31 PM
  3. Need urgent help regarding java word wrap function.. URGENT
    By coldice in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 16th, 2011, 05:43 AM
  4. please help super new to Java
    By R.Rivera in forum What's Wrong With My Code?
    Replies: 3
    Last Post: June 13th, 2011, 07:58 PM
  5. call super method outside of 'this'
    By questionmark in forum Object Oriented Programming
    Replies: 1
    Last Post: January 29th, 2011, 11:29 AM