java uses or overrides a deprecated API error
问题 Hello so this is my code, somehow I still get error down there I described error, any help would be appreciated. I am not really expert with import of this and especially API itself import java.io.BufferedInputStream; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; public class MyClass { public static void main(String[] args) throws IOException { File file = new File("Sinatra.txt"); FileInputStream fis = new FileInputStream(file