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)
2 4881what is the difference between function template and template of function?explain with example.
2 19442I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
1 7109
What is difference between multiple inheritance and multilevel inheritance?
What exactly is polymorphism?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the difference between abstraction and polymorphism?
what are the different types of qualifier in java?
What is multilevel inheritance explain with example?
Why is abstraction used?
What is encapsulation c#?
What is property in oops?
What do you mean by abstraction?
What is encapsulation and abstraction? How are they implemented in C++?
What is class and example?
What are the 3 pillars of oop?
Give two or more real cenario of virtual function and vertual object
What is the example of polymorphism?