Thursday 19 September 2013

 Difference between member functions and static member functions?
  • Any static function of a class we can access all the static members of the same class directly.
  • In-order to access static member of a class we don't need object.Thus object of the class is not required to access static member of the class.
  • Object is required only to access non-static members of a class.
  • We always load the non-static members of class dynamically through object, but where as we always load the static member of a class dynamically from the byte code to RAM through context of the class.