Core Java tutorials.
Methods and fields might be declared static. This is also possible for C++. Only one copy is present for the complete class when field is static, rather than one copy for all class instances. If class instance is not present even then fields copy is available. For example, given field addition in List class: static int numLists = 0; And, the given statement addition in the List constructor: numLists++; When new List object creation takes ...
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone