
Programowanie Obiektowe - 4T
Authored by Kacper Fryt
others
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • Ungraded
Imię i nazwisko
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaka będzie wynikowa wiadomość po wykonaniu poniższego kodu? Animal myDog = new Dog(); myDog.makeSound();
"Animal sound"
"Bark"
Błąd kompilacji
"Animal sound Bark"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie jest zastosowanie interfejsu Shape w tym kodzie?
Definiowanie klasy bazowej
Implementacja wielodziedziczenia
Implementacja abstrakcyjnej klasy
Wspólne dziedziczenie cech dla różnych klas
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co jest charakterystyczne dla klasy abstrakcyjnej w tym przypadku?
Można tworzyć obiekty tej klasy
Musi implementować wszystkie metody abstrakcyjne
Może zawierać metody abstrakcyjne
Nie można dziedziczyć po niej
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak uzyskać dostęp do wartości x po utworzeniu obiektu klasy Example?
Example.x
Example.getX()
Example.getValue()
Example.x()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynikowy rezultat po uruchomieniu tego programu?
6
13
12
14
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynikowy rezultat po uruchomieniu tego programu?
1 2 3 4 5
5 4 3 2 1
0 1 2 3 4
0 1 2 3 4 5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?