(String[] args)
| 13 | */ |
| 14 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected