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 7606where 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 10852Hi 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.
2246
What is basic concept of oop?
What do you mean by variable?
• What are the desirable attributes for memory managment?
Why is oop better than procedural?
What is oops concept with example?
write a program that takes input in digits and display the result in words from 1 to 1000
Can a destructor be called directly?
What is an interface in oop?
What is persistence in oop?
Can private class be inherited?
what type of questions
Why do we use inheritance?
What is stream in oop?
What is the purpose of polymorphism?
What are classes oop?