Friday, 7 September 2012

A Vector is declared as follows. What happens if the code tried to add 6 th element to this Vector new vector(5,10) | JAVA JSP


A. The element will be successfully added
B. ArrayIndexOutOfBounds Exception
C. The Vector allocates space to accommodate up to 15 elements

ANS: A,C

No comments: