logo

Crowdly

Browser

Add to Chrome

Об'єктно-орієнтоване програмування [02539]

Looking for Об'єктно-орієнтоване програмування [02539] test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування [02539] at vns.lpnu.ua.

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

Виберіть коректні заголовки блока catch:
0%
0%
0%
100%
0%
View this question
Яке ключове слово використовують для оголошення шаблонів
0%
0%
100%
0%
0%
View this question

Вкажіть пропущене слово у тексті нижче:

"... змінної вказує компілятору виділити певне місце під цю змінну та, можливо, заповнити його певним значенням."

0%
0%
0%
0%
View this question
Оператор «крапка» використовується при оголошенні похідного класу.
0%
100%
View this question

Що з нижче наведеного не стосується механізму винятків C++?

0%
0%
0%
0%
0%
0%
0%
View this question
Яке з оголошень правильно вказує, що функція void f() не генерує жодного винятку (починаючи із C++11)?
0%
0%
0%
100%
0%
0%
View this question
Продовжіть речення:

Файл заголовку (header file) - це файл, у якому ...
0%
0%
0%
100%
0%
View this question

Який буде вивід програми, текст якої подано нижче:

#include <iostream>

class MyClass{public:    MyClass() = default;

    MyClass(const MyClass&) { std::cout << "Copy constructor\n"; }    MyClass(MyClass&&) { std::cout << "Move constructor\n"; }

    MyClass& operator=(const MyClass&) { std::cout << "Assign operator\n"; return *this; }    MyClass& operator=(MyClass&&) { std::cout << "Move operator\n"; return *this; }};

int main(){    MyClass object;    MyClass secondObject = std::move(object);    return 0;}

100%
0%
0%
0%
View this question
Який принцип ООП надає можливість створити декілька функцій з однаковими іменами? 
0%
100%
0%
0%
0%
View this question

Функції-члени позначені ключовим словом "const" не можуть змінювати статичні поля класу.

0%
100%
View this question

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome