Nearly every book, by introducing a lambda starting with an anonymous class Runnable
, is even referred to as an alternative to an anonymous class. However, lambda returns the same object, while an anonymous class returns a new one.
1. Why does lambda behave like this?
2. Why is this so?

source
share