Skip to content
- Usually, we can use collections to hold and transfer objects from one location to another location
- To provide support for this requirement, every collection class by default implements serializable and clonable interface
Random Access Interface
- Implemented by ArrayList and Vector
- ArrayList and Vector class implements RandomAccessInterface so that any random element in the collection we can access with the same speed
- RandomAccess is a marker interface where required ability will be provided automatically by the JVM