package p1; public class Base { protected int value=0; protected String getName() { return "Base"; } }