Computer Science, asked by ask95377, 1 year ago

elaborate the importance of constant members function & static member function in c++ along with example showing their implementation

Answers

Answered by dastulikapadgna
1
Static member functions are those which can be call without the using of any instance of the class. They are call using the class name with itself.

ask95377: what about const member function
dastulikapadgna: Constant means final methods. If we declare any method as final then the method in derived class can't be overridden in anyway.
ask95377: thank u soooo much
dastulikapadgna: Welcome.
Similar questions