Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
139 / 187
what are the important points to remember while using concrete types?
Answer:
i. Concrete types are fitted into a hierarchy of related classes.
ii. Each concrete type can be understood in isolation with minimal reference to other classes.
iii. If a concrete type is implemented well, programs using it are comparable in size and speed to programs a user would write using a hand-crafted and specialized version of the concept.
iv. If the implementation changes significantly the interface is usually modified to reflect the change.
v. Concrete type resembles in the built in type.
Asked In ::
Vinod
23 Feb, 2019 5:07 AM
i. Concrete types are fitted into a hierarchy of related classes.
ii. Each concrete type can be understood in isolation with minimal reference to other classes.
iii. If a concrete type is implemented well, programs using it are comparable in size and speed to programs a user would write using a hand-crafted and specialized version of the concept.
iv. If the implementation changes significantly the interface is usually modified to reflect the change.
v. Concrete type resembles in the built in type.
ii. Each concrete type can be understood in isolation with minimal reference to other classes.
iii. If a concrete type is implemented well, programs using it are comparable in size and speed to programs a user would write using a hand-crafted and specialized version of the concept.
iv. If the implementation changes significantly the interface is usually modified to reflect the change.
v. Concrete type resembles in the built in type.