Thread: Static fields
View Single Post
  #2 (permalink)  
Old 04-18-2008, 09:43 AM
baskar.nitt's Avatar
baskar.nitt baskar.nitt is offline
Member
 
Join Date: Apr 2008
Location: Chennai, India
Posts: 15
baskar.nitt is on a distinguished road
hi
hi,

my suggesstion reg. static members

A class have only one copy of Satic variables always.

whenever we change the class level static variable value (by using object reference or by using the classname) the changes reflect to all places whereever we use that variable. So whats the need of using object reference to access static variables.

Last edited by baskar.nitt : 04-18-2008 at 09:54 AM.
Reply With Quote