A superclass in Java is a class that a subclass inherits from. A subclass inherits all the properties and behaviors of its superclass.