MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / main

Method main

day19/code/day19_File/src/cn/itcast_01/FileDemo.java:15–26  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

13 */
14public class FileDemo {
15 public static void main(String[] args) {
16 // ��������
17 // File(String pathname)��ͨ��һ��·��������File����
18 File file = new File("d:\\demo\\a.txt");
19
20 // File(String parent, String child)�� ͨ����·������·��������File����
21 File file2 = new File("d:\\demo", "a.txt");
22
23 // File(File parent, String child)��ͨ����·��File�������·��������File����
24 File file3 = new File("d:\\demo");
25 File file4 = new File(file3, "a.txt");
26 }
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected