• Post Reply Bookmark Topic Watch Topic
  • New Topic

Inheritance  RSS feed

 
Saba Shahrukh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


static members are not inherited but how this code works.

Please help.
 
Campbell Ritchie
Marshal
Posts: 56520
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you will find that static members are in fact inherited. Look here. What you mean is that you cannot override static methods.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!