PracHub
Questions
Premium
Learning
Careers
Explain Runnable vs Callable and thread-safe Singleton | Apple Interview Question
Back
|
Home
/
Software Engineering Fundamentals
/
Apple
Explain Runnable vs Callable and thread-safe Singleton
Apple
Jan 17, 2026, 12:00 AM
Software Engineer
Technical Screen
Software Engineering Fundamentals
2
0
Loading...
Concurrency & Design Patterns (Java)
In Java concurrency, what is the difference between
Runnable
and
Callable
?
When would you choose one over the other?
How do you retrieve results and handle exceptions for each?
Name one or two design patterns you have used in real projects.
For the Singleton pattern, explain what it means for a Singleton to be
thread-safe
.
Why can a naïve lazy Singleton be unsafe under concurrency?
Describe at least one correct way to implement a thread-safe Singleton in Java and why it works.
Comments (0)
Sign in
to leave a comment
Loading comments...
Browse More Questions
More Software Engineering Fundamentals
•
More Apple
•
More Software Engineer
•
Apple Software Engineer
•
Apple Software Engineering Fundamentals
•
Software Engineer Software Engineering Fundamentals