Java API is not but a set of classes and interfaces that comes with the JDK. Java API is actually a huge collection of library routines that performs basic programming tasks such as looping, displaying GUI form etc.
Convert array to Vector
In this section we will learn how to convert an array to vector. Actually array is used is used to store similar data types but Vector is used to store object data type and object can be of String or of any class.