|
-
June 16th, 2007, 01:00 AM
#5
Re: inheritance and static data
But why keeping the static in BASE class is against the rule of OO..??
I mean code reuse is also an aim for OO programming....
WHy unnessessary declare STATIC variable in all the derived classes If all the derived classes has to have the variable..
Why should not we keep that in BASE class only...???
Regards
Prashant
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|