
oops
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Tharun AmiReddy
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement about Java classes is true?
A class must always contain a main method
A class can have multiple constructors
A class can’t have private fields
An object can be created without a class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which members are not inherited by a subclass?
Constructors
Private fields
Static methods
Both (a) and (b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
B can override A’s private methods
If class B extends class A, what is correct?
B can call A’s constructor directly
B automatically inherits all public and protected members
B cannot access A’s fields at all
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is method overriding?
a) Same method name, different return type, same class
b) Same method name, different parameters, same class
c) Same method name, same parameters, different class (inherited)
d) Different method name, same class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is runtime polymorphism?
a) Method Overloading
b) Method Overriding
c) Constructor Overloading
d) Static method hiding
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is true about interfaces?
a) A class can implement multiple interfaces
b) An interface can extend multiple interfaces
c) An interface can extend a class
d) Both a and b
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When an object is created:
a) Only methods are loaded into memory
b) Only data members are loaded into memory
c) Both data members and methods are loaded
d) Only constructor is loaded
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
10 questions
Skincare Sunday Quiz
Quiz
•
Professional Development
15 questions
Cuestionario INCOTERMS LLO
Quiz
•
Professional Development
10 questions
Colepol variados 2
Quiz
•
Professional Development
10 questions
W0D3 Quizzizz for OW
Quiz
•
Professional Development
15 questions
Engagement
Quiz
•
Professional Development
10 questions
DTO20033 Chapter 2 (Part 1)
Quiz
•
Professional Development
10 questions
TEACHERS’ ETHICS AND CODE OF CONDUCT
Quiz
•
Professional Development
15 questions
Chuyển đổi số
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
