Thread: Static fields
View Single Post
  #9 (permalink)  
Old 04-21-2008, 08:19 PM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 740
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
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)
Reply With Quote