
Unit 3

Quiz
•
Computers
•
University
•
Hard
Mr. V
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Packages in Java are used for:
Improving code readability
Grouping related classes and interfaces
Reducing code complexity
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which keyword is used to import a specific class from a package in Java?
include
require
import
use
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. In Java, a class can belong to:
Only one package
Multiple packages
No package at all
Two packages only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. An interface in Java can contain:
Instance variables
Constructors
Abstract methods
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. A class in Java can implement multiple interfaces:
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which access modifier is used for an interface method that should be accessible only within the same package?
public
protected
private
default (package-private)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Which keyword is used to explicitly throw an exception in Java?
exception
throw
catch
try
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Excepciones e Interfaces en Java

Quiz
•
University
12 questions
Jison (Español)

Quiz
•
University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
9 questions
Costruttori

Quiz
•
University
15 questions
Stored Procedure, Function & Packages

Quiz
•
University
10 questions
Examen Unidad VI. Archivos

Quiz
•
University
10 questions
Mobile Application and Development

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University