Category: COLLECTION

Iterator in Java 1

Iterator in Java

In Java, Iterator is an interface available in Collection framework in java.util package. It is a Java Cursor used to iterate a collection of objects. They are used in Java to retrieve...

Auto Boxing and Unboxing in Java 0

Auto Boxing and Unboxing in Java

This post explains the Auto Boxing and Unboxing concept in Java In boxing primitives converted into appropriate wrapper class (which is Integer in the case of int). And in unboxing...

Vector Class in Java 0

Vector Class in Java

Vector is a concrete class in Collection Framework. It is a dynamic representation of array and is synchronized. Since the vector is synchronized so it is a better choice for...

vector_methods 0

Methods in Vector Class

Collections Framework in Java has a Vector class. This Vector class has very useful methods, lets see some of the methods in Vector Class with examples. Example-1: Vector accepts an...