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!

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

Sisendbaidivoogu saab realiseerida järgmise klassi alamklassidega

0%
0%
0%
0%
View this question

Mitu baiti kirjutab järgmine programm faili?

try ( DataOutputStream dos = new DataOutputStream(

        new FileOutputStream("andmed.bin"))

) {

   dos.writeInt(14);

   dos.writeInt(779);

   dos.writeInt(884075);

   dos.writeDouble(12.24);

}
View this question

Klassi File objekt võib olla

0%
0%
0%
View this question

Mida väljastab järgmine programmilõik?

DoubleProperty arv1 = new SimpleDoubleProperty(15.5);

DoubleProperty arv2 = new SimpleDoubleProperty(5);

NumberBinding vahe = arv1.subtract(arv2);

arv2.set(12.6);

arv1.bind(arv2);

System.out.println(vahe.getValue());

View this question

Mida väljastab järgmine programmilõik?

DoubleProperty arv1 = new SimpleDoubleProperty(15.5);

DoubleProperty arv2 = new SimpleDoubleProperty(5);

NumberBinding vahe = arv1.subtract(arv2);

arv1.set(12.6);

System.out.println(vahe.getValue());

View this question

Mida väljastab järgmine programmilõik?

DoubleProperty arv1 = new SimpleDoubleProperty(15.5);

DoubleProperty arv2 = new SimpleDoubleProperty(5);

NumberBinding vahe = arv1.subtract(arv2);

System.out.println(vahe.getValue());

View this question

Mida väljastab järgmine programmilõik?

DoubleProperty arv1 = new SimpleDoubleProperty(15.5);

DoubleProperty arv2 = new SimpleDoubleProperty(5);

arv1.bind(arv2);

System.out.println(arv1.get());

View this question

Klassikirjelduses võib olla teise klassi kirjeldus.

View this question

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

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