![]() |
What is Array in Java?
Hello Friends,
Please tell me what is array in Java. |
An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. You have seen an example of arrays already, in the main method of the "Hello World!" application.
|
An array, in the context of Java, is a dynamically created object that serves as a container to hold the constant number of values of the same type. By declaring an array, memory space is allocated for values of a particular type.
|
All times are GMT -7. The time now is 11:10 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.