默认为工程文件Project的根,相对路径从根为起点开始找
byte数组读取
fis = new FileInputStream("hello"); //Idea默认当前路径是Project的根
byte [] bytes = new byte[4];
int readCount = 0 ;
while ((readCount = fis.read(bytes))!= -1){
System.out.println(new String(bytes,0,readCount));
}