How do you use multiple arrays?
From ggc
You can use multiple arrays because they each have different names. For example, if you have a method with two arrays as parameters:
public int getMax(int[] a, int[] b)
You can use each of them by refering to them by name. For example,
a[0]=5;
puts 5 in the first position of array a Whereas
b[0]=5;
puts 5 in the first position of array b. Does this answer the question?
- This page was last modified on 1 April 2008, at 17:54.
- This page has been accessed 196 times.
- Privacy policy
- About ggc
- Disclaimers
- Powered by MediaWiki!









