Why do we use polymorphism in oops?
No Answer is Posted For this Question
Be the First to Post Answer
what is mean by design pattern
Write a macro for swapping integers
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?
What is a function in oop?
WHEN A COPY CONSTER IS CALL ?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
How do you use inheritance in unity?
can we make game by using c
What causes polymorphism?
What is the main purpose of inheritance law?
what are the realtime excercises in C++?