Why should we use setter and getter methods over public variables in a java class ?

This is debatable and the one the imp and confusion question and asked in forums that &qu…