+ 1
If I want to take an array in the method that I created and I want to return another array, how can I do it?
about design a method by the user
2 ответов
+ 4
just return the name of the array?
the function should have the return type in the definition , following with -> []
like
public int[] myFunc(){}
+ 1
could you tell me an example, because I realy do not understand this idea 😂😂💔 , forgive me I 've just start leaning code and I have no idea about it 💔