Which aspects of the Java language can be used for comparing

Which aspects of the Java language can be used for comparing generic objects as opposed to only int values? Select all that apply. The compare To method. The Comparable interface. The == operator. The Comparator interface. Which problem is typically tackled with recursion instead of iteration? Select all that apply. mergesort exponentiation parsers tree and graph traversal

Solution

Answer to Question
Which aspects of the Java lanaguage can be used for comparing generic objects as opposed to only int ? select all that apply
Answer
- The compareTo method
The comparable interface
-The comparator interface

Answer to Question
Which problem is typically tackled with recursion instead of iteration?Select all that apply
Answer
mergesort
exponentiation
tree and grapgh travesal

 Which aspects of the Java language can be used for comparing generic objects as opposed to only int values? Select all that apply. The compare To method. The C

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site