class Dad { protected static String me = \"dad\"; public void printMe() { System.out.println(me); } } class Son extends Dad { protected
This looks like a design flaw.
Remove the static keyword and set the variable for example in the constructor. This way Son just sets the variable to a different value in his constructor.