0

public class NumberofStudentSequred70 {

public static void main(String[] args) 
{
    int [] arr= {31,35,35,40,42,50,66,69,69,70,70,70,78,78,85,85,88,90,90};

    for(int i=0;i<arr.length;i++)
    {
        System.out.print(arr[i]+",");
    }
}

}

Prasad
  • 1
  • 3
  • 1
    Does this answer your question? [Is a Java array of primitives stored in stack or heap?](https://stackoverflow.com/questions/2099695/is-a-java-array-of-primitives-stored-in-stack-or-heap) –  Dec 01 '21 at 17:25

0 Answers0