+ 3
???
Its like returning any datatypes, its simple, create an array in the function, return that array. Also, remember to specify that function on what type of array it is returning.
Ex:
public double[] functy(){
double[] arr = { 1,2,3};
return arr;
}