soodsandeep
asked on
Container Class vs. Nested Class
Hello Experts, could any one please define Contatiner Classes and Nested Classes.
in most text books i find both mixed or in one book what they call container class is called nested class in some other book.
Please provide some help oa a good link on this.
Thaks.
in most text books i find both mixed or in one book what they call container class is called nested class in some other book.
Please provide some help oa a good link on this.
Thaks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes. More nicely said ;)
Any chance we can see some movement on these very old open questions:
1 04/24/2003 40 Hard disk management Open Hardware
2 12/05/2003 100 C++ Classes. Open C++ Programming
3 12/06/2003 70 c++ constructors Open C++ Programming
4 12/16/2003 50 exporting a sequence and a view. Open Oracle
5 02/07/2003 50 Polymorphism Open Programming Languages
6 11/01/2003 100 inserting into oracle from vb Open Visual Basic
1 04/24/2003 40 Hard disk management Open Hardware
2 12/05/2003 100 C++ Classes. Open C++ Programming
3 12/06/2003 70 c++ constructors Open C++ Programming
4 12/16/2003 50 exporting a sequence and a view. Open Oracle
5 02/07/2003 50 Polymorphism Open Programming Languages
6 11/01/2003 100 inserting into oracle from vb Open Visual Basic
It's about encapsulation.
Container classes are normally templates, such as the std::vector class.
Nested classes are ... nested classes. Like
class a{
[...]
class b{};
};
A class in a class. Advantage is that b's methods can see a's methods.