Java is by-value, by-reference or by-sharing? Illustrated with C++ | Dark Hacker News