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 7491where 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 10734Hi 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
What is inheritance in oop?
class type to basic type conversion
How can you overcome the diamond problem in inheritance?
Which language is not a true object oriented programming language?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is a class oop?
What is multilevel inheritance in oop?
what type of questions
Why is destructor used?
What is encapsulation c#?
Why is encapsulation used?
Why do we use class in oops?
to find out the minimum of two integer number of two different classes using friend function
What are oops methods?
What is coupling in oops?