✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Mis prinditakse välja?
try (
RandomAccessFile raf = new RandomAccessFile("fail.dat", "rw")
) {
raf.writeInt(16);
raf.writeDouble(2.2);
raf.writeInt(4);
raf.writeDouble(11.3);
raf.seek(16);
System.out.println(raf.readDouble());
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!