Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java please Create the following simple StoreTestProgram class: public class StoreTestProgram {public static void main(String args[]) {Customer[] result; Store walmart; walmart = new Store('Walmart

In Java please image text in transcribed
Create the following simple StoreTestProgram class: public class StoreTestProgram {public static void main(String args[]) {Customer[] result; Store walmart; walmart = new Store('Walmart off Innes"); walmart.addCustomer(new Customer("Amie", 14. 'F', 100) walmart.addCustomer(new Customer("Brad", 15, 'M', 0)); walmart.addCustomer(new Customer("Cory", 10, 'M', 100)); walmart.addCustomer(new Customer("Dave", 5, 'M', 48)); walmart.addCustomer(new Customer("Earl", 21, 'M'. 500)); walmart.addCus tomer(new Customer("Flem", 18, 'h'. 1)); walmart.addCustomer(new Customer("Gary", 8, 'M', 20)); walmart.addCustomer(new Customer("Hugh", 65, 'M', 30)); walmart.addCustomer(new Customer("Iggy", 43, 'M', 74)); walmart.addCustomer(new Customer("Joan", 55, 'F', 32)); walmart.addCustomer(new Customer("Kyle", 16, 'M', 88)); walmart.addCustomer(new Customer("Lore", 12, 'F', 1000)); walmart.addCustomer(new Customer("Mary", 17, 'F', 6)); walmart.addCustomer(new Customer("Hick", 13, 'M', 2)); walmart.addCustomer(new Customer("Omar", 18, 'M', 24)); walmart.addCustomer(new Customer("Patt", 24, 'F', 45)); walmart.addCustomer(new Customer("Quin", 42, 'M' 355)); walmart.addCustomer(new Customer("Ruth", 45, 'F', 119)); walmart.addCustomer(new Customer("Snow", 74, 'F', 20)); walmart.addCus tomer(new Customer("Tamy", 88, 'F', 25)); walmart.addCustomer(new Customer("Visa", 2, 'F' 75)); walmart.addCustomer(new Customer("Vern", 9, 'M', 90)); walmart.addCustomer(new Customer("Hill", 11, 'M", 220)); walmart.addCustomer(new Customer("Xeon", 17, 'F', 453)); walmart.addCustomer(new Customer(Ying", 19, 'F', 76)); walmart.addCustomer(new Customer! "Zack", 22, 'M', 35)); System.out.println("Here are the customers: "); walmart.listCustomers();}}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

Identify the risks associated with not planning.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

Analyse the process of new product of development.

Answered: 1 week ago

Question

Define Trade Mark.

Answered: 1 week ago

Question

6. Effectively perform the managers role in career management.

Answered: 1 week ago