Simply put, you can’t. Method-local variables only exist during the execution of the method. They can’t be accessed outside of the method at all.
Simply put, you can’t. Method-local variables only exist during the execution of the method. They can’t be accessed outside of the method at all.