Memory allocation is definitely a good reason to avoid the second the way of doing it. I too prefer the first way dueo to allocation reasons and also due to more easier readability... knowing where the object is coming from... as I think someone said before.
Great points from all. 
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on July 13, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|