How to take input after closing scanner class (to fix resource leak) in java without re initializing

welcome to shbcf.ru