Showing posts with label Arrays in Java. Show all posts
Showing posts with label Arrays in Java. Show all posts

What is Arrays in Java

Basically an array in java is a collection of homogeneous elements that simply means array can store elements of same type or we can say it can store elements of same data types. means if we declare integer type array so we can store only integer data type elements in array or if we declared array of character type so we can store only character's in it.