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?
Answer Posted / praveen
public class A
{
class B *b;
}
public class B
{
class A a;
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
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.
what is difference between class template and template class?
What is methods in oop?
Give two or more real cenario of virtual function and vertual object
What is solid in oops?
Prepare me a program for the animation of train
What is overriding in oops?
Advantage and disadvantage of routing in telecom sector
How does polymorphism work?
What are main features of oop?
How is class defined?
What is encapsulation c#?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is inheritance in simple words?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.