If you are not laughing at yourself, then you just didn't get the joke.
SCJP, SCJD(In Progress)<br /> <br />"They whom make no mistakes usually make nothing at all."
Originally posted by Joe Schider:
I like to think of static classes in a sense as a "global" object, function, var... Everytime you call a constructor on a non-static object, you get a 'new' object, and all these 'new' objects, if permitted would all call the same single static object throughout the apps runtime. Guys correct me if I am wrong in this thinking, but its an easy way for me to keep things straight.
There is no emoticon for what I am feeling!
SCJP, SCJD(In Progress)<br /> <br />"They whom make no mistakes usually make nothing at all."
Originally posted by Arun Kumarr:
... Inner classes can be static.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Tony Morris
Java Q&A (FAQ, Trivia)
If you are not laughing at yourself, then you just didn't get the joke.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
An inner class is a nested class that is not implicitly or explicitly declared static.
Inner class may not declare static initializers or member interfaces.
Inner classes may not declare static members, unless they are compile-time constant fields.
a local class is a nested class that is not a member of any class and that has a name.
All local classes are inner classes.
There is no emoticon for what I am feeling!
Tony Morris
Java Q&A (FAQ, Trivia)
Tony Morris
Java Q&A (FAQ, Trivia)
"I'm not back." - Bill Harding, Twister
There is no emoticon for what I am feeling!
"I'm not back." - Bill Harding, Twister