filmov
tv
Study Lab Exercise In Inheritance Java: Employee

Показать описание
a) Design a class named Employee. The class should keep the following information in the fields:
+Employee name
+Employee number
+Hire date
i) Write one or more constructors and the appropriate accessor methods for the class.
ii) Write a method named displayInfo() to display the info of employee.
+Employee name
+Employee number
+Hire date
i) Write one or more constructors and the appropriate accessor methods for the class.
ii) Write a method named displayInfo() to display the info of employee.