Sponsered Links
Categories
Sponsered Links

Core Java ArrayLength

 

This example shows how to find the ArrayLength.

import java.io.*;
import java.util.*;

public class ArrayLength {
  
  public static void main(String[] args) throws Exception {
       int arr[] = {1,2,3,4,5};
    System.out.println(arr.length);
  }
}

 
 
Sponsered Links
Latest Updates
 
All Content of this site is for learning only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright © 2009 JSPSERVLETTUTORIAL.INFO All Right Reserved