logo

Crowdly

Browser

Add to Chrome

Об'єктно-орієнтоване програмування (1 курс КН)

Looking for Об'єктно-орієнтоване програмування (1 курс КН) test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування (1 курс КН) at moodle.chnu.edu.ua.

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

Якщо в конструкторі класу

class A {

public:

A () {ptr = new char [size];

Init (); }

~ A () {if (ptr) delete [] ptr; }

char * ptr; };

відбудеться виняткова ситуація, чи буде втрачена пам'ять при відкат по стеку?

(C++)

View this question
Які принципи об'єктно-орієнтованого програмування реалізуються класами?

(C++)

View this question
Які твердження щодо конструкторів і деструкторів вірні?

(C++)

0%
View this question
Якими засобами підтримується в мові C++ узагальнене програмування?

(C++)

View this question
Парадигма процедурного програмування полягає в наступному:

(C++)

View this question
Чи відбудеться помилка при використанні наступної конструкції:

class A {const int f () {. . .}; };

g (const & A a) {a.f (); . . . }?

(C++)

View this question
Виберіть правильні твердження (одне або більше).

Інкапсуляція - це:

(C++)

0%
0%
0%
0%
View this question
Які твердження про статичні члени класу вірні?

(C++)

View this question
Які твердження є правильними?

(C++)

View this question
Чи викличе даний код помилку компіляції?

class Rectangle

{

public:

int a, b;

int sum ();

int square ();

~ Rect ();

};

(C++)

View this question

Want instant access to all verified answers on moodle.chnu.edu.ua?

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

Browser

Add to Chrome