Why multiple inheritance is not allowed?
No Answer is Posted For this Question
Be the First to Post Answer
What is operator overloading? Give Example
11 Answers CTS, IBM, TCS,
Why u change company?
Which language is pure oop?
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
What is protected in oop?
what is difference between thread and programme.
what is difference between String s=new String("vali"); String s="vali"
How to calculate the age from the date of birth by using the program?
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
Why many objects can working together? How objects working togetherM I want to see example code.
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?