Question: Create a class called Customer that includes three instance variables: id (int), name (String) and gender (char). The class contains: A constructor that creates a

Create a class called Customer that includes three instance variables: id (int), name (String) and gender (char). The class contains: A constructor that creates a Customer with the specified id, name and gender. Provide get methods for each instance variable. Provide a method toString takes no arguments and returns "name(id)". Write a test program called TestCustomer to test the Customer class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
