logo

Crowdly

Mis prinditakse välja? try ( RandomAccessFile raf = new RandomAccessFile("...

✅ 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());

}

More questions like this

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!