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?
3 7493where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
2 10736Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
2198
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is destructor in oop?
What do you mean by Encapsulation?
What are classes oop?
Why do we use encapsulation in oops?
How long to learn object oriented programming?
What is the purpose of polymorphism?
What are different oops concepts?
Why it is called runtime polymorphism?
how to get the oracle certification? send me the answer
Can we have inheritance without polymorphism?
officer say me - i am offered to a smoking , then what can you say
What is encapsulation in simple terms?
What is difference between abstraction and encapsulation?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer