 Such functions have access to all variables in the enclosing scope, including parent method local variables.They are in scope for the entire method, regardless of whether they’re invoked before or after their declaration.Access modifiers (public, private, protected) cannot be used with local functions.