FileInputStream ("hello.txt") funktioniert nur, wenn ich einen absoluten Pfad (C: \ User \ Documents usw.) angebe.
Hallo, kann ich FileInputStream auf irgendeine Weise zum Lesen bringen?hello.txt
im selben Verzeichnis ohne Angabe eines Pfades?
package hello/
helloreader.java
hello.txt
Meine Fehlermeldung:Error: .\hello.txt (The system cannot find the file specified)