Voting

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche

Post 11 was an accident, but my untersdanding is that your response is no longer accurate. With escape analysis turned on objects may never touch the heap and could in fact be passed by value. It was probably easier for me to ask does Java have value or reference types? Since it is so heavily ingrained that all objects are reference types, it is not shocking that many people incorrectly state that it is pass by reference. This is especially true as you get more and more people that have never used a true pass by reference language. So, since I never made it clear. I like the point this blog post made, heavily. I'm just sympathetic to people that would say it is pass by reference, so long as they can explain how they meant that.