SCJP6
SCJP6
API wrote:Returns:
index of the search key, if it is contained in the array; otherwise, (-(insertion point) - 1). The insertion point is defined as the point at which the key would be inserted into the array: the index of the first element greater than the key, or a.length if all elements in the array are less than the specified key. Note that this guarantees that the return value will be >= 0 if and only if the key is found.
Sonali Sehgal wrote:How do we perform this program of inserting at 2nd postion...???
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |