- Java

One dimensional array in java

Arrays Arrays are the collection of homogenous elements. In the sense they have same data type. Arrays can be declared as any dimensions.Each element of an array is accessed by it’s index. One dimensional array It is a single list of same data type.The general form of an array is:…

Read More