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

Question #20033
76-8. When instantiating an array, you can assign the number of elements in the array dynamically, using a variable (as opposed to using a constant). What situation will that be useful? and why?
1
Expert's answer
2012-12-06T09:41:56-0500
It's more useful to use dynamic variable for instantiating anarray.
if your array size depends on some calculations ofcourse you should better use variable in contrast to using constants.

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