Question: Why can Arrays.sort ( ) can be used to sort an array of different data types? 1 4 a . No , Arrays.sort ( )
Why can Arrays.sortcan be used to sort an array of different data types?
a
No Arrays.sort can only sort array of type int.
b
This is because the Arrays class is overloaded.
c
This is because Arrays.sort takes multiple parameters.
d
This is because there is more than one sort method in the Arrays class sort Method is overloaded
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
