logo

Crowdly

Browser

Add to Chrome

Об’єктно-орієнтоване програмування

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

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

Спадкування це:
❌
❌
✅
❌
View this question
Які методи можуть отримати доступ до private членів класу?
❌
❌
❌
✅
View this question
Що використовується для опису поведінки об'єкта?
✅
❌
❌
❌
View this question
Як ми можемо звернутися до третього елемента масиву array1?
❌
❌
✅
View this question
Яка довжина масиву String [] citiesArray = {"Kyiv","Lviv","Rivne"}
❌
✅
❌
❌
View this question
Щоб визначити довжину масиву arr автоматично , потрібно прописати в коді

arr._____;

❌
✅
❌
View this question
Ви можете отримати доступ до суперкласу з підкласу, використовуючи ключове слово super .
100%
0%
View this question
Чи можна змінити тип, що повертається в перевизначеному методі?
0%
❌
View this question
Який результат виконання коду?

class Animal {

protected int legs;

public void eat() {

System.out.println("Animal eats");

}

}

class Dog extends Animal {

Dog(){

legs = 4;

}

}

class MyClass {

public static void main(String[ ] args){

Dog d = new Dog();

d.eat();

}

}

❌
❌
✅
View this question
Чи можуть конструктори бути перевантажені?
✅
❌
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