Valid 1z0-808 Dumps shared by ExamDiscuss.com for Helping Passing 1z0-808 Exam! ExamDiscuss.com now offer the newest 1z0-808 exam dumps, the ExamDiscuss.com 1z0-808 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1z0-808 dumps with Test Engine here:
Which of the following exception will be thrown due to the statement given here? int array[] = new int[-2];
Correct Answer: B
In given statement we can see that, we have passed negative value for creating int array, which results a NegativeArraySize Except ion. Hence option B is correct. Option A is incorrect as it is thrown when an application attempts to use null in a case where an object is required. Option D is incorrect as IndexOutOfBoundsException thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. rhttpy/docs.oracle.com/iavase/S/docs/api/java/lang/NegativeArraySizeException.html