What is a class in oop?
No Answer is Posted For this Question
Be the First to Post Answer
What is inheritance and how many types of inheritance?
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.
what are the ways in which a constructors can be called?
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??
What is ambiguity in c++
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
Difference ways of Polymorphism?
how to find no of instances of an object in .NET?
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
Why polymorphism is used in oops?