I've tried searching google for this, but I'm not exactly sure what to look for.
Basically, I'm trying to change this:
Code: Select all
public static int size(){
int size = list.size();
return size;
}or in other words, what's the correct syntax for passng arrays through methods (both to them and returning an array).
thanks.