Multiple choice

Comparable interface belongs to _______ package in Java.

  1. java.lang

  2. java.util

  3. java.io

  4. java.net

  5. none of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Yes, Comparable interface belongs to java.lang package.