By jsugrue
via java.dzone.com
Published: Jul 28 2008 / 15:54
I asked a question a few days ago, regarding static members in inner classes. I presented an example with two static members, one was integer the other Object type, the integer compiled correctly and the Object did not.
Comments
ceaseoleo replied ago:
overall good article, but.. in one statement you say only allows primitive types, but in the next line you declare String as static final.... String is not technically a primitive , but should be considered an exception... just adding clarity. :)
Voters For This Link (23)
Voters Against This Link (0)