Курсовая работа: Объектно-ориентированное программирование
mouth_1=mouth - mouth_0;
}
year_1=year-year_0;
FileInputStream is12 = new
FileInputStream(new
File("C:\\Student\\"+S2+".txt"));
ids13 = new DataInputStream(is12);
String E=ids13.readUTF();
int f=Integer.parseInt(E);
df=new Device[f];
m1=new int [f];
FileInputStream is121 = new
FileInputStream(new
File("C:\\Student1\\"+S2+".txt"));
ids131 = new DataInputStream(is121);
for(int r123=0;r123<f;r123++)
{
String E1=ids131.readUTF();
int f1=Integer.parseInt(E1);
m1[r123]=f1;
}
BufferedReader in = new BufferedReader(new FileReader("device1.dat"));
newStaff1=readData(in);
in.close();
for(int g1=0;g1<f;g1++)
{
r3=m1[g1];
df[r34]=newStaff1[r3];
r34++;