EX06 - Task 1.1 How many methods?

Moderatoren: pmueller, SE - Design and Construction

theChaoS
Windoof-User
Windoof-User
Beiträge: 27
Registriert: 22. Apr 2012 03:39

EX06 - Task 1.1 How many methods?

Beitrag von theChaoS » 13. Jun 2018 18:05

Hello,

If I understand Task 1.1 correctly we shall find a set (as in multiple) methods that if they are implemented in a subclass of Map will cause an error during compile time if and only if they are also implemented in Map. However I think that with java there are very many possible candidates. Shall we make only a few examples or only consider special kinds of methods?

pmueller
Moderator
Moderator
Beiträge: 87
Registriert: 25. Jan 2018 11:14

Re: EX06 - Task 1.1 How many methods?

Beitrag von pmueller » 13. Jun 2018 19:29

Hi,

a single example with one method in Map and one Method in the hypothetical subclass(e.g. IntMap) suffices. Think about the similarities and differences between a pair of such methods that could lead to compile time errors.

Best,
Patrick

Antworten

Zurück zu „Software Engineering - Design and Construction“