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!

Перерахуйте властивості абстрактного типу?

(C++)

0%
0%
View this question
Які твердження щодо поліморфізму вірні?

(C++)

0%
0%
0%
0%
0%
View this question
Коли переважно використовувати уявлення об'єкта класу Х описом Х* замість Х& ?

(C++)

View this question
Які твердження щодо абстрактних і конкретних класів вірні?

(C++)

0%
View this question
Якими за замовчуванням оголошуються методи класу?

(C++)

0%
0%
0%
0%
View this question
Які з наступних тверджень є НЕПРАВИЛЬНИМИ?

class Base { };

class Derived: protected Base { };

(C++)

0%
100%
0%
0%
View this question
Визначено класи:

class base

{int x, y;

public: int getx () {return x; }

int gety () {return y; }

};

class Derived: private base

{int z;

public: int getz () {return z; }

base :: getx;

} Obj;

Який з наступних операторів призведе до помилок компіляції?

(C++)

0%
0%
0%
View this question
Оголошено класи:

class base

{int x, y;

public: int fun ();

};

class derived: protected base

{int z;

public: int fun1 ();

};

Визначте тип доступу з класу derived до членів x, y, fun класу base .

(C++)

0%
0%
100%
View this question
Що буде в результаті виконання наступної програми?

class Base {

...

public: void f ();

private: int * baseID;

};

class Derived: public Base {

...

public: void foo ();

private: int derivedID;

};

Derived my1;

int x;

my1.baseID = & x;

(C++)

0%
100%
0%
0%
View this question
Вкажіть яку з виразів буде правильним?

class A

{public: int a, b;

protected: int func (float d) {};

private: short i; } A1;

class B: public A

{private: int k; } B1;

class C: public B

{protected: int l, m; } C1;

(C++)

0%
0%
0%
0%
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