Added details about getter and setter (#32070)
Added details about getter and setter (#32070)

Added brief introduction of getter and setter with examples.
BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,jonathanihm/freeCodeCamp,raisedadead/FreeCodeCamp