Lexi Turgeon wrote:Does the a hold a value?
Look at your method signature again.
a is declared as an
int[], i.e.,
a is an array that contains int values. If you're still confused by this notation, maybe
you should go back over your past notes and exercises and really understand that material.
It's the same thing as the
args parameter in the main() method signature:
You're familiar with this kind of code, right? Well, the parameter
args here is declared as a
String[], i.e.,
args is an array that holds
String values.