Hello All
I have two classes
1. Employee
2. Project
both classes have a create function
create function of Employee class creates a new Employee
it takes object of Employee class as input parameter and return bool
create function of Project class creates a new Project
it takes object of Project class as input parameter and return bool
Now I want to create a abstract class which will contain a create function
So I can inherit that abstract class into my both above classes
What should be the prototype or signature for that create function of abstract class
Which should be able to take any type of class object?
Any help ???
Thanks in advance