There are two main classes: Judicial Magistrate of the First Class and Judicial Magistrate of the Second Class, each with distinct powers and responsibilities.