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 7505where 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 10748Hi 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.
2199
Why do pointers exist?
What is the benefit of oop?
What is the real time example of encapsulation?
Whats oop mean?
What is object in oop with example?
What are the benefits of oop?
What is abstraction in oop?
What is polymorphism explain?
What is polymorphism give a real life example?
Why is abstraction needed?
Hi 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.
How does polymorphism work?
Write a program to sort the number with different sorts in one program ??
Why is abstraction used?
What is abstraction with example?