Doug Sherm

Greenhorn
+ Follow
since Feb 17, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Doug Sherm

Pleas help to clear up some of my confusion on the topic of static inner classes:

1) If the class is not a static class and just a static member why is the syntax "static class Nest {}" used?

2) And if it is just a member does it follow the rule for other static members that only one copy exists for the class?

3) One last thing: it appears as though the class is being instantiated in the example given in the book. Is that possible for a "static" class?

I'm preparing to take the certification exam for Java 6, and I'm trying to clear up my fuzziness on this subject. The information is on pgs. 680-681 of Sun Certified Programmer for Java 6 Study Guide.

I appreciate any help that anyone can provide.

Thanks in advance,

Doug Sherm