Computer Science, asked by singhanita5749, 5 months ago

syntax for array in java?​

Answers

Answered by THELEGENDKINGDOM
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 Dipu6256
2

Answer:

plz mark me as brainlist and thank to my answer and follow me ...

Attachments:
Similar questions