
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
10 questions
Inheritance

Quiz
•
University
10 questions
Object/Abstract/Final in JAVA

Quiz
•
University
10 questions
Programación Orientada a Objetos

Quiz
•
University
8 questions
Java Exeption

Quiz
•
University
15 questions
TEST-1-PREP

Quiz
•
University
7 questions
APQuiz-G

Quiz
•
University
10 questions
Marea recapitulare

Quiz
•
University
14 questions
RDBMS, HTML, CSS

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University