public static void main(String[] args)
{        A23  a3 = new A23();
        a3.readFile(C:/LK/A/studyA/test.txt);//此处我应该将文件的路径怎么写啊
}public void readFile(String path) throws Exception {
       //File f = new File(path);
      // FileInputStream  fin = new FileInputStream (f);
      // fin.
      // try
    int ch = 0 ;
   try{
   FileInputStream fin = new FileInputStream(path);
   while ((ch=fin.read())!=-1)
   {
    System.out.print((char)ch);
   }
   fin.close();
  }
  catch (IOException e)
  {
   System.out.println(e.toString());
  }     }