Answer to Question #20028 in Java | JSP | JSF for nohra
36-8. Where is the error in this code sequence?
double [ ] a = { 3.3, 26.0, 48.4 };
a[4] = 2.5;
1
2012-12-04T04:59:27-0500
The size of array a[] = 3 and we're trying to assign 2.5 to the 4th element which can't happen.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment