Learned how to find the length in array - DHIRAJ.LOG
HomeAddresshttps://uppadadhiraj.github.io/blog/java-learning/

Learned how to find the length in array

1 min read

java

Code

public static void main(String[] args){
    int arr[] = {1,5,7,2,8,9,10};
    System.out.println(arr.length);
}
Start