Results 1 to 4 of 4
  1. #1
    aronkevin is offline Member
    Join Date
    Oct 2010
    Rep Power

    Default Please help..dice java program

    Guys I'm having a little problem with my programming class and I really need to pass this project..Guys I really need your help to pass this subject..Please help me..Thank You so much..

    Write a java program that will show the characteristic of a pair of dice in which the instance variables die1 and die2
    are private. Your class will need methods that can be used to find out the values of die1 and die2.(This idea is to protect their values from being changed from the outside the class, but still to allow the values to be read.)Include other improvements in the class, if you can think any. Test your class with a short program that counts how many times a
    pair of dice is rolled, before the total of the two dice is equal to two.

    tnx guyss..


  2. #2
    Join Date
    Aug 2010
    Rep Power


    Did you just ask us to do your homework for you???

    What are you up to? Which aspects are you having trouble with?

  3. #3
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power


    Also posted in the "advanced" forum.

    Also posted at Programmers Heaven.

  4. #4
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Destiny Islands
    Rep Power


    @ OP, here you go, here's a rent-a-coder site: More capable, accountable and affordable. Guaranteed.

    We're volunteers looking to help with issues, not do work for people. If you legitimately want to pass the course, you need to learn a thing or two about Java. It won't be a seamless process, but THAT'S why we're here--to help you when you get stuck, not hold your hand through everything.

    So, like Rectal suggested, get started on your work and when you come across a specific issue (maybe your code is printing out 7 instead of 5 and you don't know why, or maybe you're getting a NullPointerException on line 88 and aren't sure what's causing it), post it here in detail and we'll be glad to help you.

    Best of luck in your course.

    PS: OP, sorry to not sugarcoat this, but I'm really not sure that you are cut out for programming if you're going to post in THREE places for people to do your homework for you...

Similar Threads

  1. Dice class for java course
    By asmodean in forum New To Java
    Replies: 11
    Last Post: 07-17-2010, 03:40 AM
  2. Java rolling dice
    By fifa4ever in forum Java Applets
    Replies: 18
    Last Post: 06-10-2010, 08:43 PM
  3. Dice Simulation Program
    By touandcim in forum New To Java
    Replies: 3
    Last Post: 03-15-2010, 12:09 PM
  4. Java Program (rolling the dice)
    By genocist in forum New To Java
    Replies: 8
    Last Post: 03-01-2010, 03:15 PM
  5. Small Dice Program
    By kimmelim in forum New To Java
    Replies: 13
    Last Post: 02-15-2009, 01:01 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