Tagged Questions
-3
votes
2answers
79 views
naming abstract class [closed]
I have an abstract class representing a test assertion. How should I name it and why?
Assertion
AssertionBase
AssertionAbstract
[other]
11
votes
7answers
3k views
What are the roles of singletons, abstract classes and interfaces?
I am studying OOP in C++ and, even though I am aware of the definitions of these 3 concepts, I cannot really realize when or how to use it.
Let's use this class for the example:
class Person{
...