Parameters are only accessible within the method they are declared in.
Method parameters are local to the method, which means they can't be accessed outside it. In an e-commerce function, a 'price' parameter passed to a method calculating discount can be manipulated within the method, but once the method exits, that parameter is no longer available.
Additional Notes
How does parameter scope affect method functionality?