posted 21 years ago
RandomAccessFile rowDataFile=new RandomAccessFile("cards.txt","rw");
byte byte1[]=new byte[(int)rowDataFile.length()];
rowDataFile.readFully(byte1,0,(int)rowDataFile.length());
System.out.println(byte1);
....
always print: [B@1fc2fb
but the "Cards.txt" is indeed have some content!
please help me!!!thx
IBM 141<br />IBM 285,286<br />IBM 700