logo

Crowdly

Browser

Add to Chrome

ITI0202 Programmeerimise põhikursus (2025 kevad)

Looking for ITI0202 Programmeerimise põhikursus (2025 kevad) test answers and solutions? Browse our comprehensive collection of verified answers for ITI0202 Programmeerimise põhikursus (2025 kevad) at moodle.taltech.ee.

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

Mis on Mockito?

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

Kas järgnev koodijupp sisaldab Singletoni?

public class Database {

private static final Database instance = new Database();

private Database() {

}

public static Database getInstance() {

return instance;

}

}
100%
0%
View this question

Mis tüüpi disainimuster on sõltuvuste süstimine (Dependency Injection)?

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

Millised väited pärilikkuse kohta on korrektsed?

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

Builder muster võimaldab jätta välju vajadusel null väärtuse peale, ilma seda eraldi konstruktoris välja kirjutamata.

100%
0%
View this question
Factory meetod annab kliendile teada, milline konkreetne toode on tegelikult loodud.
0%
100%
View this question

Mis omadused on iseloomulikud Factory disainimustrile?

import java.util.List;

import java.util.ArrayList;

class Pet {

private static List<Pet> pets = new ArrayList<Pet>();

/*

Some other stuff...

*/

private Pet() {}

public static Pet getPet() {

if (pets.size() == 10) {

return null;

}

Pet p = new Pet();

pets.add(p);

return p;

}

}

0%
0%
0%
0%
0%
View this question
Mida ütleb DIP (The Dependency-Inversion Principle)?
0%
0%
0%
View this question

Millega on tegemist?

int changeName(String firstName, String secondName);

int changeName(String firstName);

0%
0%
0%
0%
View this question

Mis on peamine eesmärk Factory patterni kasutamisel?

0%
0%
0%
View this question

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

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

Browser

Add to Chrome