What are getter and setter functions? | Classes | typescript Interview Questions | NextRound.in