I had this question on my OOP Exam, and I had to choose one or multiple answers among the following:
What characterises an Abstract Data Type?
- The various operations (accessors and modifiers to the state) that it supports;
- The fact that the state of the object is modifiable;
- The fact that it has at least one method that modifies the state.
I suppose 1 and 2 are correct answers, but I'm not sure. For this reason I'd like to know from someone if they're actually correct or not.