If I have a static variable in my base class, for example type of integer. Will I also have the same copy of that variable for the objects of derived classes?
Also, can the keyword static be used with strings?
If I have a static variable in my base class, for example type of integer. Will I also have the same copy of that variable for the objects of derived classes?
Also, can the keyword static be used with strings?