filmov
tv
Java Bangla Tutorial | Array in Java with Example -Tutorials - 17

Показать описание
In this tutorial, we will learn to work with arrays in Java. We will learn to declare, initialize, and access array elements with the help of examples.
An array is a collection of similar types of data.
For example, if we want to store the names of 100 people then we can create an array of the string type that can store 100 names.
String[] array = new String[100] ;
Here, the above array cannot store more than 100 names. The number of values in a Java array is always fixed.
An array is a collection of similar types of data.
For example, if we want to store the names of 100 people then we can create an array of the string type that can store 100 names.
String[] array = new String[100] ;
Here, the above array cannot store more than 100 names. The number of values in a Java array is always fixed.