, , , , , , .
, , , . : Java . , , . , , , .
To summarize, you usually want to define the behavior (what the objects will do) with interfaces, and not in abstract classes. In my opinion, the main advantage for abstract classes is that the focus from the use case refers to the implementation hierarchy and reuse of code from subclasses.
source
share