![]() ![]() So this is very rarely a general OO question its a language specific question, with different answers for different languages and different use cases. Your languages or sometimes your frameworks idiomatic conventions encourage getters or setters for this use case. Your languages property support isnt sufficient for this use case, or. Your language doesnt have properties or some similar mechanism, like Tcls variable traces, or. BAxlb.png' alt='Programs Like Visual Logic Puzzles' title='Programs Like Visual Logic Puzzles' /> Why use getters and setters You should use getters and setters when Youre dealing with something that is conceptually an attribute, but. As one of the Souths most innovative institutions in teaching and learning, Kennesaw State University offers undergraduate, graduate and doctoral degrees across two.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |