Common design practice is to make instance variables private and have public getters and setters to access them. But many times I have seen code samples on the internet that
the private variables are accessible directly anywhere in the class
settng variabels private is to encapsulate them from other classes