classGlyph{voiddraw(){
System.out.println("G() in draw");}Glyph(){
System.out.println("G() before draw");draw();
System.out.println("G() after draw");}}classRoundGlyyphextendsGlyph{int r =1;RoundGlyyph(int r){this.r = r;
System.out.println("R(), r = "+r);}voiddraw(){
System.out.println("R() in draw, r = "+r);}}publicclassextendTest{@TestvoidinitExtendsTest(){newRoundGlyyph(5);}}