Based on this basic principle, the characteristics of a class are created private to cover and defend them from other code. I will not likely down vote but urge Devs to consider this in lieu of have null / empty checks within your property techniques. What I have viewed this https://smartworlddeveloper.co.in/