Question: Complete the Lotto.java lab we stated in the class. The purpose is to create a java class for GA Lottery Authority so that they can

Complete the Lotto.java lab we stated in the class.

The purpose is to create a java class for "GA" Lottery Authority so that they can run the java application to generate a ticket.

(sample) Data fields:

(lotto) type ticketNumber idNumber location timeAndDate

Methods:

at leastt 2 Constructors Lotto() pickN() generateN() getPurchaseDateTime() checkAwardAmount()

(optional) print the whole ticket in a single method

#2 Design and code a JavaAccount.java class.

Data fields:

customerName AccountNumber balance interestRate and other additional information you may want to store in the JavaAccount.

Methods:

a Constructor JavaAccount() deposit() withdraw() checkBalance() setInterestRate() checkInteretRate()

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!