If a class is not required to initialize its data member or does not contain data member, there is no need to write empty constructor explicitly . On class object creation, default constructor implicitly called will be enough. In below class, default constructor will be called on object creation of the class.