Question: ( 2 ) Create a Class named as your last name + Class. For example, mine would be ChampClass. ( 1 ) Define a private

(2) Create a Class named as your last name + Class. For example, mine would be ChampClass.
(1) Define a private static field to keep track of a Customer ID. This Customer ID will be unique for a read from the file and will be calculated each time a new customer is added. The initial value shoulc
(1) Define a constant variable with a value of 50 for the maximum array size.
(1) Define a static variable to keep track of the number of customers.
(4) Define arrays for the Customer Name, Customer ID, Total Amount and Transaction Count.
(1) Define a Random object. You will need to import the java.util.Random package.
(1) Create a default Constructor. Set the seed value for your random number generator inside the Constructor. The seed value will be assigned to you.
(3) Create a private method "generateRandomInt" that returns a new integer value between 0 and 10
(5) Create a "createCustomer" method that will accept the Customer Name as a parameter and store
( 2 ) Create a Class named as your last name +

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 Programming Questions!