How to sort elements in a parallel array in java?
Answer / Priti Vishnoi
In Java, arrays are not parallel by default (i.e., you can't have two arrays of different data types with the same index). If you mean sorting elements in separate arrays simultaneously, this is generally not possible because arrays do not support multiple data types.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the basic interfaces of java collections framework?
How do you reverse a list?
Are true and false keywords?
What happens if main method is not static?
Explain garbage collection in java?
in a console we r giving java <class name> if r pressing enter where it'll goes
What is low level language in computer?
What is meant by object oriented programming – oop?
What is linkedlist in java?
What lambda means?
Can we extend private class in java?
What happens when the main() isn't declared as static?