Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Method for Rabbit Population help!

843829Dec 5 2004 — edited Dec 6 2004
Hi, I'm a Java student and we have to create a class, and in the class you have to show the outcome of this scenario: Theres a pair of rabbits, and once those rabbits are one month old they can have a kid. After they are monnth they have to wait 30 days till the pair comes out. We have to have the method display the outcome for 10 months, I don't know how to implement the wait30Days method, or what variable I should use, and oh yeah we start out at month 1, with one pair of rabbits. If somebody can help me I would be very appreciative

~Kevin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2005
Added on Dec 5 2004
5 comments
154 views