In OOP, instance variables are part of an instanced object but you can't access them from outside of the instanced object, to solve this problem we use setters and getters.
Ali Al Khawaja

Ali Al Khawaja @ali-alkhawaja

About: I post random Tech Tips & Tricks that I think are useful to everyone .

Location:
Palestine
Joined:
Aug 17, 2024

In OOP, instance variables are part of an instanced object but you can't access them from outside of the instanced object, to solve this problem we use setters and getters.

Publish Date: Jan 29
0 0

Comments 0 total

    Add comment