Practice: Core Java Rapid-Fire Drill
50 min · Beginner
A rapid-fire round is a quick series of short questions, often at the start of a technical interview, to check your basics. The goal is a correct, confident answer of one or two sentences each, followed by fast output tracing and two small coding questions.
Topics in this lesson
- Rapid-fire round: 30-second answers
- Predict-the-output set
- Two coding questions: count characters, reverse words
- Spot the wrong answer
Interview questions this lesson answers
- Rapid fire: JDK vs JRE vs JVM?
- Rapid fire: why is Java platform independent?
- Rapid fire: is Java pure object-oriented?
- Rapid fire: what is autoboxing?
- Rapid fire: why does
Integer127 == 127 give true but 128 == 128 give false? - Rapid fire: what happens when you unbox null?
- Rapid fire: why is String immutable?
- Rapid fire:
==vsequalsfor strings? - Rapid fire: how many objects does
new String("hi")create? - Rapid fire: what does
intern()return?
Sign in free to continue this lesson
Create a free account to read every lesson, practise with the exercises and keep track of your progress.