(Sandeep Sharma) A constructor it is a special kind of method; it defines the state of an object (initializes an object). When the object is created then by default a constructor is generated by the Java compiler.
Read More - Register for Free Membership
