DEV Community

Discussion on: Lambda Expressions In Simple Terms

kwereutosu profile image
Kwerenachi Utosu Author

It’s just simply to emphasize that the Product class is the parent class. I initially wanted to add a sub class for better emphasis, but I removed it. That Product class can function the same without the super() added there.