假如小报是可信的,那么摇滚之王“猫王”就会直到今天仍然在世。下面的程序用来估算猫王当前的腰带尺寸,方法是根据在公开演出中所观察到的他的体态发展趋势来进行投射。该程序中使用了Calendar.getInstance().get(Calendar.YEAR)这个惯用法,它返回当前的日历年份。那么,该程序会打印出什么呢? public class Elvis { public static final Elvis INSTANCE = new Elvis(). private final int beltSize. private static final int CURRENT_YEAR = Calendar.getInstance().get(Calendar.YEAR). private Elvis() { beltSize = CURRENT_YEAR - 1930. } public int beltSize() { return beltSize. } public static void main(String[] args) { System.out.println("Elvis wears a size " INSTANCE.beltSize() " belt."). } }