Hi

Access modifiers cannot be used with local variables.So,you ca not use private access modifier in case of local variables.