in java each class has a constructor. If you declare the constructor, you will lose default constructor.