Brisk
Quiz
Practice. Learn. Score.
Home
🔍
🌙
🏆
Leaderboard
Login
IT
›
Java
⏱
00:00
0/7 answered
Score: 0
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Question 1
What is the purpose of the "@Deprecated" annotation applied to a Java method?
Forces every caller of the method to catch a checked exception
Automatically converts the method into a private one
Immediately deletes the method from the compiled class file
Signals the method should generally no longer be used
Question 2
What is the purpose of an "abstract" method declared inside an abstract class?
Declares a method signature with no body, forcing subclasses to implement it
Marks a method as automatically synchronized across all threads
Declares a method that can never be called directly at all
Marks a method as deprecated and scheduled for future removal
Question 3
What does JDBC stand for, and what is its purpose in Java?
Java Direct Byte Compiler, for bytecode optimization
Java Database Connectivity, for connecting to databases
Java Data Binding Configuration, for XML parsing
Java Development Build Chain, for project builds
Question 4
What ordering guarantee, if any, does a standard HashMap provide over its entries?
Entries are always sorted by their hash code value
Entries are always kept in insertion order
None; iteration order is not guaranteed
Entries are always sorted by their key's value
Question 5
What is the purpose of the "package-private" (default) access level applied to a class member with no explicit modifier?
Accessible from any class located in the same package only
Accessible only from a direct subclass, regardless of package
Accessible only from within the exact same class itself
Accessible from absolutely anywhere across the whole application
Question 6
What problem does the java.util.Optional class primarily help address?
Converting a checked exception into an unchecked one
Making null-related, missing-value handling more explicit
Synchronizing access to a value across multiple threads
Automatically retrying a failed network request
Question 7
What is the purpose of the java.time package, introduced in Java 8 to replace the older Date and Calendar classes?
Provides an improved, immutable API for dates and times
Provides a completely new syntax for writing lambda expressions
Replaces the collections framework with a newer alternative
Provides utilities exclusively for formatting currency values
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Share this quiz
𝕏
💬
f
in
🔗
📚 All Quizzes
Browse every category and see the full list of quizzes on BriskQuiz
→
🏠
Home
📚
Categories
🏆
Leaderboard
👤
Profile