i have some problem for my final exam on oop. i need a little help if you can. Thanks for your interest.
a)Desing a UML diagram of a class called Employee with id,name and departmant members.The class should have constructors,set,get,prit,info etc.
b)Code the class specified above.
c)Write a drive program to test the objects and the methods of the class.
d)Considering inheritance, redesing the class above such that two new classes of MonthlySalaried and WeeklySalaried can be derived. Use a new member called salary and related member functions for the derived classes.
e)For the above classes, only describe how to implement polymorphism.
These are questions that prospective employers will likely ask you someday, if you seek a career in programming. My advice: read a textbook about oop or at least try to google terms such as polymorphism and oop inheritance. You are going to need to learn this if you want to remember it later during an interview.