Re: How do java programmers cope with java missing c++ const?



On 28 Feb 2006 03:46:04 -0800, josh.s17@xxxxxxxxx wrote, quoted or
indirectly quoted someone who said :

I've been working with java for a while now, but I miss the ability to
pass around objects that can't be modified, as is possible with the c++
const keyword.

ou compose immutable objects with private modifier or no modifier
methods. See http://mindprod.com/jgloss/immutable.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.