Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
149 / 187
What is meant by leaf classes?
Answer:
A concrete node class can be used to implement an abstract class and variables of such a class can be allocated statically and on the stack. Such a class is sometimes called as leaf class.
Asked In ::
Mirza Ali
23 Feb, 2019 5:07 AM
A concrete node class can be used to implement an abstract class and variables of such a class can be allocated statically and on the stack. Such a class is sometimes called as leaf class.