
Java Interfaces Quiz
Authored by Ms STAFF
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about interfaces in Java?
Interfaces can have instance variables
Interfaces can have abstract methods
Interfaces can be instantiated
Interfaces cannot be implemented by classes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used by a class to implement an interface?
extends
implements
imports
package
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can an interface extend another interface in Java?
Yes, using extends keyword
Yes, using implements keyword
No, interfaces cannot extend
Only abstract classes can extend interfaces
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following members can an interface have?
Abstract methods
Static methods
Default methods
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default access modifier of methods in an interface?
private
public
protected
default (package-private)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can an interface contain constructors?
Yes
No
Only static constructors
Only protected constructors
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a class implements multiple interfaces, it is called:
Multilevel inheritance
Multiple inheritance
Hierarchical inheritance
Hybrid inheritance
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
PL-900 MÓDULO 01 pt-br
Quiz
•
Professional Development
15 questions
Telco Practice Test 1
Quiz
•
Professional Development
10 questions
KSK3024 1.1
Quiz
•
Professional Development
10 questions
Revisão: Introdução sistemas operacionais
Quiz
•
Professional Development
10 questions
PreTrainingClassesObjectsMethods
Quiz
•
Professional Development
10 questions
Post Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
DIAGNÓSTICO SISTEMAS DE INFORMACIÓN
Quiz
•
Professional Development
12 questions
DECI - Week 9 - round
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 Computers
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...