Vidyalelo
Java Programming · Q178

Interfaces and Abstract Classes

Programming · Java Programming · question 178

Q178

Which of these exceptions will be thrown if we declare an array with negative size?

A.
IllegalArrayException
B.
IllegalArraySizeExeption
C.
NegativeArrayException
D.
NegativeArraySizeExeption
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board