what is static function
Static functions are functions which can access only static variables and local variables.It can be called by class name bcoz it is specific for a class in which it is defined,not for any specific object of that class.It can not be inherited also.