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 4981what is the difference between function template and template of function?explain with example.
2 19541I 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 7189
can inline function declare in private part of class?
Give two or more real cenario of virtual function and vertual object
Why is abstraction used?
Is data hiding and abstraction same?
What is balance factor?
How do you answer polymorphism?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is static modifier?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
what type of question are asked in thoughtworks pair programming round ?
What is the types of inheritance?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
How to use CMutex, CSemaphore in VC++ MFC
write a program that takes input in digits and display the result in words from 1 to 1000
Why is polymorphism important in oop?