Heuristic for Class models include which of these?
(a) Use inheritance only when there is a generalization relationship between the sub-class and its super-class(es)
(b) Combine common attributes and operations in similar classes into a common super-class
(c) All of the mentioned
(d) None of the mentioned
This question was addressed to me during an interview.
Asked question is from Static Modelling Heuristics topic in chapter Unified Modelling Language of Software Architecture