I am getting this error "Resource Leak input is never closed " I saw some solutions for this problem online but I am not willing to solve this problem unless it can affect the performance of the program because the code is run fine
import java.util.Scanner;
public class Input {
public static double[][] Get_Ppe_Condition(int row,int col){
Scanner input=new Scanner(System.in);
the rest of the code....
So my question is do this type of error affect the run of the code with repect to time maybe or can it affect the accurecy of the results? Do you guys suggest to solve it? and what is the better way to solve this type of error? Thanks in advance