answered question
Constructor is a Java basic feature of Java.and Init method is designed in such a way that it acts as a constructor but it just a function which returns nothing and called by container not by the user.So constructor gets executed at any cost but init method should be called by the container after executing … Read more