There are two ways to reuse a class in C++. Composition and inheritance. With composition, any class data member can be an instance of an existing class. With inheritance, we can derive a new class from an existing class. Either way, we create a new class of object with all the properties of the existing class which can be extended and/or replaced with properties of our own.
Class inheritance. Derived classes extend the usability of the existing interfaces of their base classes.
The file stream classes (ifstream and ofstream) are derivatives of the I/O stream classes (istream and ostream) that are specific to file input and output.
Its limited only by available memory.
AUTO EXTERN STATIC are the storage classes in c++
You implement inheritance by deriving a new class of object from an existing class of object. The existing class is known as the base class of the derived class.Classes declared final cannot be used as bases classes and classes without a virtual destructor (or a virtual destructor override) cannot be used as polymorphic base classes.
It would be easier to manipulate the stack in assembly language rather than C++.
Extensibility primarily relates to the language itself and is ultimately decided by the C++ standards committee members. Programmers can make proposals to the committee, but they have no influence as such. Extensibility with regards your own programs is entirely down to your design team. The language is immaterial on this regard, it's up to you to decide which standards your programs will adopt, whether extensibility is enabled through COM, NET, scripts or some user-defined/proprietary mechanism. Note that extensibility is not the same as scalability, which is probably what you were really asking.
Yes.
no
Not as commonly used. More schools are replacing their c++ classes with java classes.
Code reusability can be found in every programming language, it is not a feature that is specific to C++. However, object oriented languages such as C++ give us much better opportunities for code reusability through inheritance. That is, a derived class inherits the public and protected members of its base classes, so we can make use of existing code to provide more specialised implementations. We don't have to continually re-invent wheels to implement base class functionality that already exists. Moreover, shared class libraries allow us to re-use code in more than one application.
The file stream classes (ifstream and ofstream) are derivatives of the I/O stream classes (istream and ostream) that are specific to file input and output.
because c++ supports all the basic concepts of oop :1.objects,2.classes,3.data abstraction and encapsulation,4.inheritance,5.polymorphism,6.dynamic binding,5.message passing.
Are called methods.
Class wrappers (embedded objects), inheritance (derived objects) and friend classes.
There is no such thing. Logic is bitwise operation, not a data type.
If you completely fail most classes
There is no alternative. C++ supports unions, so no alternative is needed.