Pregunta de entrevista de Paytm Labs

Java 1. How does Future and Stream api work 2. How does HashMap work, what does it do when the indices are full, what are the trade-offs of that implementation 3. Generic and Type erasure 4. Scenarios of Memory Leak

Respuesta de la entrevista

Anónimo

23 ene 2021

I didn't remember all the scenarios for the memory leaks, but I saw someone was asked about it, so I googled it, and in the interview I steer the conversation just to trick me into asking this one. (I put something like, "oh in this case, there might be risk of memory leak" in some answers), And they took the bait! So thank god they didn't hire me at the end right? they dodged a bullet by some cunning dude like me.