What is Array in Java?

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









Related Tutorials/Questions & Answers:
difference between java5 and java6 - Java Beginners
Java2
Advertisements
Javah
about java1
What is Array in Java?
What is array in java with example?
What is an Assiciative Array in PHP ?
About Java2
What are the different functions in sorting an array?
javaa swings - IDE Questions
Javap Tool application
Javah -  Header File Generator
What is the first argument of the String array in main() method?
What is the best way to create a string array in python
Artifacts of javax
What is the difference between mysql_fetch_object and mysql_fetch_array?
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Javac -source KeyTest.java
Array
javax - JSP-Servlet
Javah - Header File Generator
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'
Version of javax>javaee-api dependency
in_array
is _array()
is _array()
Maven dependency for com.gooddata - gooddata-http-client version 1.0.0+java7 is released. Learn to use gooddata-http-client version 1.0.0+java7 in Maven based Java projects
Maven Repository/Dependency: javax | wsdl
Maven Repository/Dependency: javax | j2ee
Javah - Header File Generator
javab - Java Beginners
javas - JSP-Servlet
javac complier not found - JSP-Servlet
What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
Array
Array
Write a program that replaces a, e, i, o, u in Java2
array
array
array
Array
array
Array
array
Maven Repository/Dependency: javax | javaee-api
array
array
array

Ads