in c++ which class is best base class or derived class %26amp; why give ur ans on the base of functionality,inheritance,visibality mode,accessbility ?
Base class or derivrd class?
the class which is inheritED by another is the base class.
the class which inheritS is the derived.
inheriting a class, is the act of taking a class as-is, and extending it's features and functionality. (adding new ones)
for the rest, please go and get a good book on C++.
you can try Thiking in C++ by Bruce Eckel which is freely downloadable . (Google "Thinking in C++ Bruce Eckel")
best of luck!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment