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!

Mitu baiti kirjutatakse faili?

try (

DataOutputStream dos = new DataOutputStream( new FileOutputStream("fail.bin"))

) {

dos.writeInt(1);

dos.writeDouble(35.72);

dos.writeInt(148);

dos.writeDouble(116898.72);

}

View this question

Baidivoo lõputunnuseks on

View this question

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

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

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