logo

Crowdly

Objektorienteeritud programmeerimine (LTAT.03.003)

Looking for Objektorienteeritud programmeerimine (LTAT.03.003) test answers and solutions? Browse our comprehensive collection of verified answers for Objektorienteeritud programmeerimine (LTAT.03.003) at moodle.ut.ee.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Mida teeb järgnev?

try (

OutputStream output = new FileOutputStream("fail.txt");

PrintStream printOut = new PrintStream(output)

){

System.setOut(printOut);

}

0%
0%
0%
0%
View this question

Puhver ajutiselt salvestab ja säilitab andmeid enne nende sihtkohta saatmist.

View this question

Baidivooga saab lugeda faili ridahaaval.

View this question

Vali õige väide.

InputStream sisse = new FileInputStream("fail.txt");

OutputStream välja = new FileOutputStream("koopia.txt");

int c;

while ((c = sisse.read()) != -1) {

välja.write(c);

}

0%
0%
0%
0%
0%
View this question

Kõik vood ainult kannavad andmeid tootja ja tarbija vahel.

View this question

Vali õiged väited.

0%
0%
0%
0%
0%
View this question

Mis on baidivoo lõputunnuseks?

View this question

Konstruktsioon

BufferedReader sisse = new BufferedReader(new InputStreamReader(new URL(a).openStream())); 
on ebakorrektne.

View this question

Kui faili temp.txt ei ole olemas, siis new File("temp.txt")

View this question

Mis ilmub ekraanile?

try (RandomAccessFile raf = new RandomAccessFile("raf.dat", "rw")) {

   raf.writeInt(10);

   raf.writeDouble(4.5);

   raf.writeInt(15);

   raf.writeInt(6);

   raf.seek(12);

   System.out.println(raf.readInt());

}
View this question

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

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