logo Practice-It logo

arrayDeclarationSyntax

Language/Type: Java arrays syntax
Author: Marty Stepp (on 2011/11/13)
Which of the following choices is the correct syntax for declaring/initializing an array of ten integers?
(order shuffled)
Which of the following choices is the correct syntax for quickly declaring/initializing an array of six integers to store a particular list of values?
(order shuffled)

You must log in before you can solve this problem.


Log In

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.