質問編集履歴
2
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
java / Fileパス参照
|
1
|
+
java / Fileパス参照ができない
|
test
CHANGED
File without changes
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
File file = new File("test.txt");
|
8
8
|
|
9
|
-
String path =
|
9
|
+
String path =file.getAbsolutePath();
|
10
10
|
|
11
11
|
System.out.println("File:" path);
|
12
12
|
|