This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a very basic understanding of java and have been asked to write a simple program to generate 6 random playing cards cards and print out what they are? I am not sure how i should approach this, could i get some advice please as i have no clue where to start.
A basic programming rule is to break your requirements down into smaller parts, and implement each of the parts separately as far as possible.
Now, in your case your requirements contain the word "and" right in the middle. This suggests an obvious division of the requirements into two parts. So, now you have two smaller tasks. Pick one and get started on it.
Joined: Jul 23, 2012
Thank you for your advice thus far, appreciate your time.