length VS length()
length property:
The length variable is used to return the size of an array, i.e. number of elements stored in an array.
public class Hello{
public static void main(String args[]) {
int arr[] = {1, 2, 3, 4, 5, 6, 7};
System.out.println...
codegallery.hashnode.dev2 min read