Interview Hack
Home
About
Games
Levels
Java Quiz - Level 4
1. Keyword to start a thread?
run()
start()
execute()
thread()
2. Generic type symbol?
<T>
<G>
<Type>
<E>
3. Checked exception example?
NullPointerException
IOException
ArithmeticException
IndexOutOfBounds
4. Unchecked exception example?
SQLException
IOException
NullPointerException
ClassNotFoundException
5. JDBC stands for?
Java Data Connect
Java Database Connectivity
Java DB Control
Java Data Code
6. Interface of List?
java.sql.List
java.util.List
java.lang.List
java.io.List
7. Which is synchronized?
ArrayList
LinkedList
Vector
HashSet
8. Thread-safe map?
HashMap
TreeMap
ConcurrentHashMap
LinkedHashMap
9. Keyword to prevent inheritance?
static
const
final
sealed
SUBMIT EXAM