Hello,
I am a beginner in java programming language. I started making a list and then interface with I implement an ArrayList then the signature should be to retrieve the item on its index.
Here is my code:
Any idea on how to do this. Thanks in advance.Code:package bat; import java.util.ArrayList; Public class TabArray <T> implements <T> List { private ArrayList ele; Public T item(int idx){ return this.ele.get(idx); }
Bookmarks