Tag: array
-
Array and it types
Array: An array in Java is a group of like-typed variables referred to by a common name.To declare an array, define the variable type with square brackets . Following are some important points about Java arrays. An array can contain primitives (int, char, etc.) and object (or non-primitive) references of a class depending on the definition of…