Write a Java program to sort the elements in the given array. Array ( 85,93,71,465,0.1)
Answers
Answered by
1
Answer:
0.1 is array please make me brainist
Answered by
1
We can sort an Array by using inbuilt classes like, Arrays class from java.util package.
For Example -
Given, an Array,
int[ ] array = {85, 93, 71, 465, 1};
We can sort it effortlessly by using,
Arrays.sort(array);
Similar questions