Created
January 15, 2013 20:22
-
-
Save arn-e/4541696 to your computer and use it in GitHub Desktop.
unhandled checked exception in Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileInputStream; | |
import java.io.File; | |
public class FileReaderTest { | |
public static void main(String[] args) { | |
File newFile = new File("./public/sample_file.text"); | |
FileInputStream fileStream = new FileInputStream(newFile); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment