← All quizzes

💻 Computer Science & IT

Java fundamentals

The JVM, collections, equals/hashCode and the concurrency basics interviews keep asking about.

8questions

mediumdifficulty

+16max XP (1st try)

not rated yet

Question 1 of 8

Java is usually described as 'write once, run anywhere' because:

Question 2 of 8

If you override `equals`, you must also override:

Question 3 of 8

`ArrayList` versus `LinkedList`: ArrayList is better for:

Question 4 of 8

A checked exception must be:

Question 5 of 8

`String` in Java is immutable, which means:

Question 6 of 8

`synchronized` on a method locks on:

Question 7 of 8

Which statement about garbage collection is true?

Question 8 of 8

A `HashMap` is unordered; which keeps insertion order?

0/8 answered

Part of