posted 18 years ago
Salil what u should rememeber is abstrat class does not stop you from writing methods that have implementation, so private variables can be accessed by those methods.In reality it happens that only few methods are absract that need to be implemented as the way u want and not all methods.
If u declare variables as wether public,private or whatever and if u dont use them it make little sense.
i think i cleared ur doubt.
santosh.
Santosh K<br />SCJP 1.4,SCWCD