Answer to Question #20025 in Java | JSP | JSF for nohra
3-8. An array a has 30 elements; what is the index of its last element?
1
2012-12-05T10:00:04-0500
Theindex of last element is 29, because first index = 0.
In JAVA when you create an array with N elements, last index always N-1, first index 0, array.lengthl = N;
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