Chapter: Miscellaneous Last Updated: 27-05-2023 12:52:01 UTC
Program:
/* ............... START ............... */ int[] myArray = {1, 2, 3, 4, 5}; int length = myArray.length; System.out.println(length); /* ............... END ............... */
Output
5
Notes:
1 2
About Us | Terms & Conditions | Privacy Policy
Copyright © 2021 Programiz.org