Computer Applications
What are different types of arrays? Give examples of each array type.
Java Arrays
2 Likes
Answer
Arrays are of different types :
- One-dimensional array — It comprises of finite homogeneous elements.
- 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
Given the following array :
Which sorting algorithm would produce the following result after three iterations.
What is an array ? What is the need for arrays ?
Write a note on how single-dimension arrays are represented in memory.
How does the amount of storage (in bytes) depend upon type and size of an array? Explain with the help of an example.