About the topics as mentioned in description. Gave one little code using lambda expression to find the problem. Then gave another code & asked to reduce its number of lines to one line using jdk8 feature.
Anonymous
For code reduction problem, he was expecting me to suggest Optional, which I suggested initially but in the end I said that I will never suggest to use Optional here to sacrifice the readability of the code, just to shorten the code. Which I think, he didn't like.
Check out your Company Bowl for anonymous work chats.