Can you name some types of inheritance?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
What is a class in oop?
What do you mean by overloading?
What is polymorphism ? Explain with examples
what is overloading and overriding?
why freind function takes more parameter than normal member function in c++?
what's the basic's in dot net
What do you mean by variable?
Explain the advantages of inheritance.
what is single inheritance?
Which is the only operator in C++ which can be overloaded but NOT inherited?
what is virtual destructor