Hi,
What is Array in Java?
How to create an array in Java and use it?
Thanks
Hi,
Array is very important in Java as it is used heavily in programming.
Array is Java is a container object for holding a fixed number of values of a type.
For example you can create an array of integers and then hold the integer there.
Following program creates an array of integers:
int num[] = {50,20,45,82,25,63};
Check more examples at Array Example - Array in Java.
Thanks
Ads