| Other OOPS Interview Questions |
|| Asked @
|why the memory allocated with new cant be freed using free()
|Which is the parameter that is added to every non-static
member function when it is called?
|Explain the concept of abstracion and encapsulation with
one example. What is the difference between them?
|tell about copy constructor
|What is a mixin class?
|I 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
|Write a program to get the binary tree.
|When will a constructor executed?
|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)
|1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
|How to calculate the age from the date of birth by using the
|what is a class
|For more OOPS Interview Questions Click Here |