class Calendar2 extends Date1 { public Calendar2(int d,int m,int y) throws DateException { super(d,m,y); } public void addDay(int n) { days+=n; } }