JobsJob TrackerJob alerts

Technia Transcat ยท 13 questions

All 13Coding 7
  • Java Object-Oriented Programming Concepts
  • Difference between static and non-static in Java
  • Java: Pass by Value or Pass by Reference?
  • Josephus Problem Puzzle: 100 people in a circleCoding
  • Why child obj = new parent(); is not possible?
  • Fibonacci sequence using recursionCoding
  • Difference between Comparator and Comparable
  • Purpose and methods of the Java Object class
  • Reverse a stringCoding
  • Factorial calculationCoding
  • Permutation of an integer arrayCoding
  • Return all subsequences of a stringCoding
  • Character frequency in a string using a HashMapCoding
โ† Technia Transcat questions
  1. Interview questions
  2. Technia Transcat
  3. Difference between Comparator and Comparable

Difference between Comparator and Comparable

Filed under Technia Transcat

The question

Explain the differences between the Comparator and Comparable interfaces in Java and when to use each.

No write-up yet. Related questions below have one.

Related Technia Transcat questions

  • Difference between static and non-static in Java
  • Java: Pass by Value or Pass by Reference?
  • Josephus Problem Puzzle: 100 people in a circle
  • Why child obj = new parent(); is not possible?
  • Fibonacci sequence using recursion
โ† Fibonacci sequence using recursionPurpose and methods of the Java Object class โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.