Static Member Function in OOP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Qasimtn
    New Member
    • Nov 2006
    • 4

    Static Member Function in OOP

    Why not we make Class Static Member Function Constant...
  • sivadhas2006
    New Member
    • Nov 2006
    • 142

    #2
    Originally posted by Qasimtn
    Why not we make Class Static Member Function Constant...
    because static member function should not be declared with a memory- model specifier.
    Here const is a memory modal specifier.
    So we can't declare a static member function with const specifier.

    Regards,
    M.Sivadhas.

    Comment

    • Qasimtn
      New Member
      • Nov 2006
      • 4

      #3
      Thanks For reply "M.Sivadhas "
      as a get a new terminology ........(MEMORY MODEL SPECIFIER)
      but OOP is a new course for me i donot know abt this terminology can u explain this further.

      Comment

      Working...