title: Why cannot we have constructor with name different from class names as long as they are unique
body: <p>I understand that Java imposes a restriction that class name should be same as constructor name. Why is this restriction imposed? Why cannot I have a constructor of the class with a different name than class name as long as no constructor with the same name exists for any other class?</p>