What are comparator and comparable interfaces in Java 8.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question
100%

V7

What are comparator and comparable interfaces in Java 8.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer