problem 1: Design a class to signify an employee. Comprise the given members:
a) Employee Number
d) Ph No.
Use the overloaded constructors to:
A) Give initial values to Name, employee Number, Address and Phone Number.
B) To give the initial values to all fields apart from Department.
prepare a method to assign department to the employee. Determine the total number of employee objects made in the program. Display the data of all the employees.
problem 2: Design a class to represent a bank account. It comprises the given members:
• Account Number
• Type of Account
• Balance amount
• To give initial values for type of account and balance
• To deposit an amount
• To withdraw an amount
• To display name and balance
Initial value for Account Number and Name has to be taken from the command line.