You can print out the contents of an array. Depending on the data type. There are methods to convert most data types to Strings so you can print them.
There is a method in the Arrays class...
Type: Posts; User: Norm
You can print out the contents of an array. Depending on the data type. There are methods to convert most data types to Strings so you can print them.
There is a method in the Arrays class...
Your terminology is weird. arrays hold data, they do not print.
If you mean that you want an array to hold integers,
define an int array and an int variable that will be an index to that array....