posted 20 years ago
if u extends the class u can acces, study inheritance concept, u are trying to create object for two class.this is obsoltely wrong.
if u extends the sub class, then u can call, sub calss mehtod and base class mehtod.
refer.:.herberd shield book-java2.
[ June 29, 2004: Message edited by: giribabu venugopal ]