
oops
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
Niveditha N
Used 1+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which can have both abstract and non-abstract methods?
Interface
Abstract Class
Enum
None of the above
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What keyword is used to implement an interface?
extend
derive
implement
implements
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one supports multiple inheritance in Java?
Class
Abstract class
Interface
Constructor
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Can abstract class have private or protected members?
Yes
No
Only public
Only static
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is true?
Abstract class can implement an interface
Interface can extend a class
Abstract class must be final
Interface can have constructors
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following statements about constructors is TRUE?
Constructors can be inherited
Constructors can be overridden
Constructors cannot be final
Constructors can return a value
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will happen if a subclass overrides a method and gives it more restrictive access?
Code compiles fine
Runtime error
Compile-time error
JVM will ignore it
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
18 questions
Services Marketing: Service Delivery Process
Quiz
•
University
20 questions
Measuring National Income and Output
Quiz
•
University
16 questions
Newspaper
Quiz
•
5th Grade - Professio...
13 questions
TOPIC 5: ARTICLE
Quiz
•
University
12 questions
Desain dan Rekayasa Perangkat Lunak
Quiz
•
University - Professi...
15 questions
Banking Law
Quiz
•
University
20 questions
Quiz No. 1_EA
Quiz
•
University
15 questions
PHOBIES
Quiz
•
University
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
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
