KnowledgeBoat Logo
|

Computer Applications

Indicate the error message which displays, if the following statement is executed :
int a[5] = {28,32,45,68,12};

  1. Insufficient cells
  2. Array index out of bounds
  3. Elements exceeding cells
  4. None

Java Arrays

69 Likes

Answer

None

Reason — The statement int a[5] = {28,32,45,68,12}; is perfectly correct and will not generate any error message.

Answered By

31 Likes


Related Questions