What is the use of getters and setters in java? - Quora

文章推薦指數: 80 %
投票人數:10人

Getter and Setter are a good programming practise in Java as they prevent accidental manipulation of the fields of a class. Also, it provides for a central ... Somethingwentwrong.Waitamomentandtryagain.Tryagain



請為這篇文章評分?