WELCOME TO JAVA FAQS
What is RandomAccess Interface?
If a collection class implements RandomAccess interface then we can access any of its element with the same speed.
RandomAccess interface is marker interface and it dosent contains any methods.
ArrayList and vector classes implements this interface.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)