What is encapsulation with real life example?
No Answer is Posted For this Question
Be the First to Post Answer
How many human genes are polymorphic?
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?
OOP'S advantages of inheritance include:
What does and I oop and sksksk mean?
what is namespace? what are the uses of namespace?
Why and when is a virtual destructor needed?
what isthe difference between c structure and c++ class
What causes polymorphism?
What is destructor in oop?
why constructor cannt be declar virtually? why destructor cannt be overloaded?
what are the different types of qualifier in java?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?