
Java2
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Maciek Witkowski
Used 41+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
21. Jak w Javie zapisujemy dziedziczenie?
A. class Podklasa : KlasaBazowa
B. class Podklasa extends KlasaBazowa
C. class Podklasa implements KlasaBazowa
D. class Podklasa inherits KlasaBazowa
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
22. Co to jest polimorfizm w Javie?
A. Możliwość tworzenia tablic o różnych rozmiarach
B. Mechanizm pozwalający obiektom o różnym typie zachowywać się w podobny sposób za pośrednictwem wspólnego interfejsu lub klasy bazowej
C. Konstruktor bez parametrów
D. Mechanizm obsługi wyjątków
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
23. Na czym polega nadpisywanie metod (ang. overriding)?
A. Nadawanie nowej nazwy metodzie
B. Tworzenie wielu metod o tej samej nazwie, ale innych parametrach (to jest overloading)
C. Definiowanie w klasie potomnej metody o tej samej sygnaturze, co w klasie bazowej, ale z inną implementacją
D. Usunięcie metody z klasy bazowej
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
24. Jaki jest cel słowa kluczowego super w metodzie klasy potomnej?
A. Wywołanie metod interfejsu
B. Odwołanie do elementów z tej samej klasy
C. Odwołanie do elementów z klasy bazowej (metod/pól/konstruktora)
D. Zaznaczenie, że metoda jest statyczna
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
25. Czy w Javie można dziedziczyć po więcej niż jednej klasie?
A. Tak, nazywa się to dziedziczeniem wielokrotnym
B. Nie, Java pozwala na dziedziczenie tylko po jednej klasie (ale można implementować wiele interfejsów)
C. Tak, ale tylko w pakiecie java.lang
D. Nie, Java w ogóle nie wspiera dziedziczenia
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
26. Co to jest klasa potomna?
A. Klasa, która nie ma żadnych pól
B. Klasa, po której dziedziczą inne klasy
C. Klasa dziedzicząca po innej klasie (klasie bazowej)
D. Klasa final
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
27. Jak nazywa się sytuacja, kiedy wiele klas implementuje ten sam interfejs, ale każda klasa robi to inaczej w swoich metodach?
A. Hermetyzacja
B. Polimorfizm
C. Dziedziczenie wielokrotne
D. Serializacja
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
ELEKTRONIKA 1
Quiz
•
University
25 questions
Materiałoznawstwo
Quiz
•
11th Grade - University
25 questions
Game Day #1 Prep
Quiz
•
University
27 questions
KATA BAKU DAN KALIMAT EFEKTIF XII- DWI -
Quiz
•
12th Grade - University
25 questions
Amino acid General Structure and information
Quiz
•
University
25 questions
Claflin University Quiz
Quiz
•
University
25 questions
UAS SISKOM
Quiz
•
University
25 questions
CUESTIONARIO 1
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
