In the Point<> class, x and y are public.
Why are there getters and setters?
They used to be private. Removing the getters and setters would break old code.
old code should be updated!
In the Point<> class, x and y are public.
Why are there getters and setters?
They used to be private. Removing the getters and setters would break old code.
old code should be updated!