posted 19 years ago
Right, but if you add an element at the sixth place, vector_name[5], straightaway, without filling the vector, you get ArrayOutOfBounds exception. I don't think you will see this question on the exam because it is an ambiguous question.