Programme Code : BCA
Course Code : cs-72
| More

Year : 2013 Views: 849 Submitted By : abhinav sharma On 15th March, 2013

Do you have solution for this Question. If yes    I aslo want solution.

Q.


Create another class Manger, which is a derived class of the class employee. A manager may be working in a department but managing a different department. Thus, this class has extra information- Manages Department. Create the class managers as a sub class of class employee. You must use the following concepts while deriving the classes (Please also write the appropriate main( ) to demonstrate the concepts):

(a) Overloaded Constructors

(b) Encapsulation

(c) Inheritance

(d) Polymorphism

Explain how and where in your classes – employee and managers the concepts listed above have been demonstrated.


No Answer Found