KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Applications

What are different types of arrays? Give examples of each array type.

Java Arrays

2 Likes

Answer

Arrays are of different types :

  1. One-dimensional array — It comprises of finite homogeneous elements.
  2. Multi-dimensional arrays — It comprises of elements, each of which is itself an array. A two-dimensional array is the simplest of multidimensional arrays, having two indices (rows and columns).

Answered By

2 Likes


Related Questions