为什么我这样做出来的是乱码
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
String file ="demo\\data.dat";
DataOutputStream d=new DataOutputStream(new FileOutputStream(file));
d.writeInt(10);
d.writeDouble(10.00);
d.writeChars("天上人间 我最大");
d.flush();
d.close();
}