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 7477where 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 10724Hi 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.
2194
What is overriding in oops?
Can we have inheritance without polymorphism?
to find out the minimum of two integer number of two different classes using friend function
What are the 3 principles of oop?
What is cohesion in oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is a class oop?
Can destructor be overloaded?
What is abstraction with example?
What are the benefits of polymorphism?
How many human genes are polymorphic?
Prepare me a program for the animation of train
What are the 3 pillars of oop?
What are the 4 main oop principles?
what is the sylabus for priliminaries?