Question: Describe the Java methods, arrays, and commands needed to create a Java program for creating a lottery program that allows the user to pick specific

Describe the Java methods, arrays, and commands needed to create a Java program for creating a lottery program that allows the user to pick specific numbers or choose to have a system-generated ticket.
If the user wants to purchase five lottery tickets, which looping structure would you use? Why did you choose the looping structure you would use?
You do not need to include a full code block for either part of the question, but you do need to describe specific Java elements needed in your narrative.
If you provide code blocks, include comments that explain the design choices you made.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!