+ 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; }
8th Apr 2017, 7:26 PM
Wen Qin
Wen Qin - avatar