T
Tony Johansson
Hello!
I'm reading a book about C++ and there is something that I don't understand
so I ask you out there.
The book says "an abstact class has a complete interface and only provides
the implementation of operations that can be specified at this general
level. These implementations can use other operations defined in the class,
both concrete and abstract"
Now to my question this sentence "These implementations can use other
operations defined in the class, both concrete and abstract" is that really
right. Assume you have 5 methods in the abstract class and we call them
a,b,c,d,e and a,b and c are concrete so d and e are pure cirtual. Then when
you implement the concrete methods a,b and c in the abstact class can you
then use the abstact methods d or e.
Many thanks
//Tony
I'm reading a book about C++ and there is something that I don't understand
so I ask you out there.
The book says "an abstact class has a complete interface and only provides
the implementation of operations that can be specified at this general
level. These implementations can use other operations defined in the class,
both concrete and abstract"
Now to my question this sentence "These implementations can use other
operations defined in the class, both concrete and abstract" is that really
right. Assume you have 5 methods in the abstract class and we call them
a,b,c,d,e and a,b and c are concrete so d and e are pure cirtual. Then when
you implement the concrete methods a,b and c in the abstact class can you
then use the abstact methods d or e.
Many thanks
//Tony