Vote count:
0
Generally we use code to interface : List list = new ArrayList();
Can we use like : AbstractList list = new ArrayList();
What will be the disadvantage of this particular initialization. Any insights will be appreciated.
asked 39 secs ago
Can we use AbstractList instead of list interface to initialize the Arraylist
Aucun commentaire:
Enregistrer un commentaire