I'm a bit unclear on the question, so perhaps more code is in order. If you follow encapsulation guidelines, variables will be private and accessed via getters and setters


//Demo class with a...