posted 22 years ago
yes, it is correct because private modifier is actually made for security of the varible . You can use that variable through the methods (from same class in which private varibles are declared) but you can modify that variables value.
It is the part of ENCAPSULATION.
ok ..
------------------
manish paliwal(or just mann )
manish paliwal(or just mann )