Answer to Question #19859 in Java | JSP | JSF for nohra

Question #19859
53-9. Where is the error in this code sequence?
int [ ][ ] a = { { 1, 2 },
{ 10.1, 10.2 } };
1
Expert's answer
2012-12-03T09:01:47-0500
the type of your array is int, so you should use onlyinteger values for it. { 10.1, 10.2} is not allowed for this type of array

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS