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 4986what is the difference between function template and template of function?explain with example.
2 19554I 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 7199
What is oops?what is its use in software engineering?
What is encapsulation and abstraction? How are they implemented in C++?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is stream in oop?
How do you achieve polymorphism?
what is the drawback of classical methods in oops?
What is abstract class in oops?
What does and I oop mean in text?
Why do we need oop?
What is object and example?
What is an interface in oop?
Can we create object of abstract class?
Explain the concepts involved in Object Oriented programming.
What are the data types in oop?
How do you define social class?