public Test implements Runnable {    public static void main(String[] args){
         new Thread(new Runnable(){
              public void run() {  // 读文件的操作}
         }).start();
         new Thread(new Runnable(){
              public void run() {  // 读文件的操作}
         }).start();
    }}
就可以了,要同步的话,可以对读文件的方法加锁,即synchronized 结合wait(), notify()实现