Arrays in Java

How to initialize an array in java ? We can initialize an array in java as shown below. Note: To initialize an array in java we need to specify the size of the array. If we know the initial values of the array we can initialize it as shown below. The square bracket on the … Continue reading Arrays in Java