syntax for array in java?
Answers
Answered by
2
Answer:
Explanation:
//Java Program to return an array from the method.
class TestReturnArray{
//creating method which returns an array.
static int[] get(){
return new int[]{10,30,50,90,60};
}
public static void main(String args[]){
//calling method which returns an array.
Answered by
2
Answer:
plz mark me as brainlist and thank to my answer and follow me ...
Attachments:
Similar questions