Need clarification, exercise: 'Your own droid'

I was struggling with an error message which I found the solution for but didn’t understand why.

public class Droid {
  
  int batteryLevel;
  
  Droid() {
    
    batteryLevel = (100);
    
  }

Why does the constructor “Droid” not need “Public”, “Void”, “Int” or something like all the other constructors? I’ve probably missed something in the earlier exercises but couldn’t find where.

Constructors do not have a return type. So that eliminates void, int and other possible return types

that leaves the modifier (public, private, protected and no modifier). The modifier determines the scope of the method. I think i would have gone for protected, so subclasses can access the constructor method. But no modifier is also possible.

Ah right that makes sense. Thanks.