create an employee object having properties name, date of birth, department, designation and salary. let the employee class have appropriate getter/setters methods for accessing these properties. initialize these properties through the setter methods. store this object into a file “outobject.txt”. read the same object from the same file and display its properties through getter methods.
create an employee object having properties name, date of birth, department, designation and salary. let the employee class have appropriate getter/setters methods for accessing these properties. initialize these properties through the setter methods. store this object into a file “outobject.txt”. read the same object from the same file and display its properties through getter methods.
Share
Answer is in worksheet(attachement) file