class Dad { protected static String me = \"dad\"; public void printMe() { System.out.println(me); } } class Son extends Dad { protected
Yes, just override the printMe() method:
printMe()
class Son extends Dad { public static final String me = "son"; @Override public void printMe() { System.out.println(me); } }