Java Features
Medium · Onsite · Phone screen · Full-time
I had a technical round and one of the questions was around Java 8 features with some hands-on coding. They didn't just want me to list off lambdas and streams, they wanted me to actually write code using them and explain why I'd use one approach over another. I walked through how I'd refactor a for-loop into a stream pipeline with map and filter, and they followed up asking about Optional and when it makes sense to use it versus just checking for null. It felt like they were testing whether I actually use these features day to day or just memorized them for interviews.
