FileInputStream („hello.txt”), nie działa, chyba że określę bezwzględną ścieżkę (C: User Documents itp.)
Hi jest tam jakikolwiek sposób mogę uzyskać FileInputStream do odczytuhello.txt
w tym samym katalogu bez podania ścieżki?
package hello/
helloreader.java
hello.txt
Mój komunikat o błędzie:Error: .\hello.txt (The system cannot find the file specified)