logoalt Hacker News

jessinra98today at 12:28 PM0 repliesview on HN

The article has a section about that. For me, a struct in C/C# can be modified and is passed by copy while a value class can not be modified and is passed by value.

I do not think you can do stack allocation in Java.