an unusual reason2label java methods static(open_q

Reason (obvious): the operation is about the class itself, not about
any instance of the class. eg: global functions. println

Reason: Don’t let *other* instance do this thing. We only allow a
particular instance to do it. example? P 16 [[ concurrent programming in java ]]

Q: how about static stuff in Collections.java and Arrays.java

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s