The default constructor is called when there is no init() method in the class, in default constructor we cannot assign values to data members.
If we write init(self) in the class with only "self" as parameter then it is no parameter constructor, here we can assign values to data members like
"self.x = 10"