Answer Posted / nikhil kapoor..
Generic functions are the function which return void ptr...
(void*)...
Generic Classes are template classes...
Basicaly we implement both of them for reusability.. and
abstraction..
| Is This Answer Correct ? | 28 Yes | 3 No |
Post New Answer View All Answers
Can a varargs method be overloaded?
What type of loop is a for loop?
What is difference between oop and pop?
What is polymorphism and its types?
What is constructor overloading in oop?
Why is object oriented programming so hard?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
How do you define social class?
What is polymorphism and why is it important?
What is the point of oop?
What is the difference between a mixin and inheritance?
Can enum be null?
How do you achieve polymorphism?
What are the benefits of polymorphism?
Can static class have constructor?