| Other OOPS Interview Questions |
|| Asked @
|There are 2 classes defined as below
public class A
class B b;
public class B
class A a;
compiler gives error. How to fix it?
|what is runtime polymorphism? For the 5 marks.
|how does a main() in C++ is different from main() in C?
|why the memory allocated with new cant be freed using free()
|143.what is oops principles?
|What is design patterns in C++?
|c++ provides classes...and classes do what we want but why
then strcut are used...if we say data hiding... it is also
provided by c++ in structs then why to prefer clasess
|How to create a comment page in C #??
|Is following functions are said to be overloaded?
int add(int a,int b)
char *add(int a,int b)
|what is costructor?
|When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
|what is a ststic variable and stiticfunction
briefly explain with exmple and in which case we use
|For more OOPS Interview Questions Click Here |