Is List an abstract class?

List is an interface because of how general it is. It does not assume anything about implementation. AbstractSequentialList and AbstractList on the other hand do assume certain ways of element access. Hence they’re implemented as abstract classes .

Sizin İçin Seçtik  What happens when you extend an abstract class?

Leave a Reply

Your email address will not be published. Required fields are marked *