
UNIT 2
Quiz
•
Engineering
•
University
•
Practice Problem
•
Hard
Senbaga Rajan
Used 5+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which concept allows two methods to have the same name but different parameters?
a) Overriding
b) Overloading
c) Dynamic dispatch
d) Encapsulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, objects are passed to methods:
a) By reference
b) By copy of the object
c) By value
d) By pointer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A static nested class can access:
a) Only static members of outer class
b) All members of outer class
c) Only private members
d) Nothing from outer class
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for inheritance?
a) implements
b) extend
c) inherit
d) None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Default package access modifier (no keyword) means:
a) private
b) protected
c) package-private
d) public
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a method returns an object, what is returned?
a) A new copy of the object
b) The object’s reference
c) Object memory address
d) All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When overriding a method:
a) Return type must always be exactly the same
b) Static methods can be overridden
c) Return type can be covariant
d) Return type can be anything
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?
Similar Resources on Wayground
20 questions
UNIT1
Quiz
•
University
20 questions
DPSD QUIZ 1
Quiz
•
University
20 questions
Sensors and Transducers Quiz
Quiz
•
University
20 questions
ARQ2_quiz_1-25
Quiz
•
University
20 questions
Quiz on Design of steel structural elements
Quiz
•
University
25 questions
CIPHER QUEST ROUND 1 SET 1
Quiz
•
University
30 questions
UH PRAKARYA KELAS X SMT 2
Quiz
•
10th Grade - University
20 questions
Signal Processing Quiz
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Engineering
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
