Access Modifiers, Inheritance & Polymorphism
Quiz
•
Computers
•
University
•
Hard
SrinivasaRao SrinivasaRao
Used 311+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of this keyword must be used to inherit a class?
super
this
extent
extends
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A class member declared protected becomes a member of subclass of which type?
public member
private member
protected member
static member
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is correct way of inheriting class A by class B?
class B + class A {}
class B inherits class A {}
class B extends A {}
class B extends class A {}
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
0
1
2
Compilation Error
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
2 2
3 3
2 3
3 2
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of this program?
1 2
2 1
Runtime Error
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is not type of inheritance?
Single inheritance
Double inheritance
Hierarchical inheritance
Multiple inheritance
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
40 questions
IOT_SARS
Quiz
•
University
39 questions
Karel Programming
Quiz
•
10th Grade - University
35 questions
Tryout SAS Kls 8
Quiz
•
8th Grade - University
40 questions
Data pillar in digital transformation
Quiz
•
University
40 questions
10th Grade 10 - IT Programming - 2nd Cycle Exam
Quiz
•
10th Grade - University
35 questions
Pemahaman Komponen Komputer
Quiz
•
10th Grade - University
37 questions
Soal informatika kls 9 sem 1
Quiz
•
9th Grade - University
40 questions
FE-Practice # 1
Quiz
•
12th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
