| Author |
to access static variable of abstract class
|
siva venkata prasad
Greenhorn
Joined: Jul 14, 2011
Posts: 17
|
|
Hi All,
I have a scenario ..
An abstract class is having a static variable which should get incremented by 1 everytime when an object of this class type is created.. Can any one suggest how my abstract class code should be?
|
 |
Andrey Kozhanov
Ranch Hand
Joined: Mar 12, 2010
Posts: 79
|
|
|
Just use OOP features.
|
 |
siva venkata prasad
Greenhorn
Joined: Jul 14, 2011
Posts: 17
|
|
Thanks . It helped.
|
 |
 |
|
|
subject: to access static variable of abstract class
|
|
|