Home arrow static arrow Java Programming [Archive] - probs with LinkedList
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - probs with LinkedList
This topic has 31 replies on 3 pages.    « Previous | 1 | 2 | 3 |

Posts:13,769
Registered: 00-11-29
Re: probs with LinkedList  
Aug 4, 2004 6:34 AM (reply 30 of 31)



 
<pedantic ballsniffing>A nested class is any class
defined inside another class. An inner class is a
non-static nested class. Multiple top-level
(non-nested) classes can exist in the same source file
as long as only one is public.</pedantic ballsniffing>

Hmmm. I thought nested class and inner class were mutually exclusive. I'm to check on this, ballsniffer ; )
 

Posts:6,750
Registered: 1/25/04
Re: probs with LinkedList  
Aug 4, 2004 8:12 AM (reply 31 of 31)



 
Section 8: "Member class declarations (�8.5) describe nested classes that are members of the surrounding class. Member classes may be static, in which case they have no access to the instance variables of the surrounding class; or they may be inner classes (�8.1.2)."

8.5.2: "The static keyword may modify the declaration of a member type C within the body of a non-inner class T. Its effect is to declare that C is not an inner class."

sniff
 
This topic has 31 replies on 3 pages.    « Previous | 1 | 2 | 3 |