Question: Write a class called Customer with the required constructor and methods to get the following output. Subtasks: 1. Create a class called Customer. 2.
Write a class called Customer with the required constructor and methods to get the following output. Subtasks: 1. Create a class called Customer. 2. Create the required constructor. 3. Create a method called greet that works if no arguments are passed or if one argument is passed. (Hint: You may need to use the keyword NONE) 4. Create a method called purchase that can take as many arguments as the user wants to give.
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
The detailed ... View full answer
Get step-by-step solutions from verified subject matter experts
