title: Why use setters in java instead of constructors?
body: <p>Setters serve only a single function of constructors in java i.e assigning value to instance variables. Why do we need them? Can you explain with an example? 
  I understand the question I asked was rudimentary and I am sorry for that. I am new to programming and as soon as I found stackoverflow, I asked this question which has been bugging me for quite a time. I tried deleting, but that was not allowed. </p>