Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
143 / 187
What are the aims of abstract types?
Answer:
i. Define a single concept in the array that allows several implementations of it to coexist in a program.
ii. Provide reasonable run-time and space efficiency through the use of virtual functions .
iii. Each implementation have only minimal dependency on other classes.
iv. Comprehensible in isolation.
Asked In ::
Pramod Sharma
23 Feb, 2019 5:07 AM
i. Define a single concept in the array that allows several implementations of it to coexist in a program.
ii. Provide reasonable run-time and space efficiency through the use of virtual functions .
iii. Each implementation have only minimal dependency on other classes.
iv. Comprehensible in isolation.
ii. Provide reasonable run-time and space efficiency through the use of virtual functions .
iii. Each implementation have only minimal dependency on other classes.
iv. Comprehensible in isolation.