In practise when you would like to share a variable or method to few classes but would like to hide it for rest of your code you can use protected variable by bundling similar classes in one package...