摘要:
服务器端 1 public static void main(String[] args) throws IOException { 2 System.out.println("服务器开启监听"); 3 ServerSocket server=new ServerSocket(6666); 4 So 阅读全文
摘要:
一、java.io.File类 String path="E:/222/aaa";//路径 String path1="aaa.txt"; File file=new File(path+"/"+path1);//创建一个路径对象 常用方法: boolean exists = file.exists 阅读全文