What is Array in Java?

Ads
 

What is Array in Java?

Hi,

What is Array in Java?

How to create an array in Java and use it?

Thanks

View Answers

April 16, 2017 at 7:36 PM

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









Related Tutorials/Questions & Answers:
Java2
Javah
Advertisements
What is Array in Java?
What is array in java with example?
What is an Assiciative Array in PHP ?
What is the first argument of the String array in main() method?
Javap Tool application
Javah -  Header File Generator
Artifacts of javax
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Javac -source KeyTest.java
Version of javax>javaee-api dependency
in_array
is _array()
is _array()
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'
Array
Array
array
array
array
Javah - Header File Generator
Array
array
array
Version of javax>javaee-endorsed-api dependency
Version of javax>javaee-web-api dependency
array
array

Ads