What is the role of getter / setter in encapsulation?

前端 未结 0 1413
孤独总比滥情好
孤独总比滥情好 2020-12-19 14:06

First of all very sorry if you think it\'s a stupid question but I\'m not clear out about this.

As per my knowledge encapsulation hide your data member from outsider

相关标签:
回答
  • 消灭零回复
提交回复
热议问题