Find the errors in the code int a= new int(5);
for(i=o;i<=a.length;i++)
a[i];
Answers
Answered by
1
Answer:
int a= new int(5);
for(i=o;i<a.length;i++)
a[i];
Explanation:
because there is only 5 spaces occupied for a.but the loop will run 6 times..
Similar questions