Is List an interface or abstract class Java?

Since List is an interface you need to instantiate a concrete implementation of the interface in order to use it. You can choose between the following List implementations in the Java Collections API: java. util.

Sizin İçin Seçtik  What is abstract class in C++ with example?

Leave a Reply

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