answersLogoWhite

0

Which one is better than arrays in java?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

Better for what? Arrays have their purposes, other constructs have other purposes. Depending on what you need, an array may be just what you need.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which one is better than arrays in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is java better than vbnet?

Java is not better than VBNet, nor is VBNet better than Java. Eachone has its advantages and disadvantaged over the other one.


Where can one find advice about working with Java sorting arrays?

There are many places where one could find advice about working with Java sorting arrays. The best place to learn more about working with Java would be to contact Oracle.


How can you prove the given string by user is array or not in java?

Strings and Arrays are two totally different data types in Java and they will not match with one another.


Does Java support multidimensional arrays?

Yes, Java supports multidimensional Arrays.Syntax isint[ ][ ] aryNumbers = new int[x][y];x represents number of rowsy represents number of columns


What is multidimentional array?

Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.


What is a multidimentional array?

Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.


Why c and java arrays are start with zero and pascal arrays are start with one?

It's a difference in mentality; some believe 0 is the begin, and is thus the only logical choice, and some think the opposite.


What is a Java scanner used for?

A Java Scanner is used for reading and producing several types of computer values. Using Java Scanners helps one easily read user input. There is a free course one might take to get better acquainted with Java Scanners provided by Java.


How do you implimenting multilevel inheritance in java?

In java we can implement more than one interfaces for a single class but we can't extend a class to more than one super class so ,java indirectly supports multiple inheritance.


How arrays are created in java?

Arrays are created just like other variables in Java. Ex: int[] a; // declares an array of integers a = new int[10]; // allocates memory for 10 integers a[0] = 100; // initialize first element a[1] = 200; // initialize second element Arrays are homogenous data types and hence they can contain values of only one type. If you create an integer array it can hold only integer data type values. If you try to assign values to nonexistent locations like a[15] it will throw an index out of bounds exception.


Is C really easier than Java Is Java more promising than C?

No and it is up to you to decide. (You asked two questions in one, so you got two answers in one.)


Where can you download Java for Mac?

To download Java for Mac one will need to go to the apple website and then follow the instructions to download the Java update. Downloading Java offers improved reliability and security and an overall better experience of your device.