Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Static inner class Date: Sun, 10 Jul 2016 13:30:57 -0400 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <5e1e4b01-002a-4652-8a0a-45a850a4d0b0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 10 Jul 2016 17:30:59 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="06228ae9c9fc5352469987831c14edda"; logging-data="809"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1WTeXfZ3Bcs43glfmpbJK" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <5e1e4b01-002a-4652-8a0a-45a850a4d0b0@googlegroups.com> Cancel-Lock: sha1:s5Ynnl8b1nkfXf/HpOaS8u//Kxk= Xref: csiph.com comp.lang.java.programmer:34844 On 7/10/2016 11:24 AM, galt_57@hotmail.com wrote: > What is the purpose or special characteristic of a static inner class? Thanks. Technically speaking, there is no such thing as a "static inner class." By definition, an "inner class" is non-static. There's a good introduction to nested classes (both kinds) at http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html Have you read it? If not, do so: I think you'll find it helpful. If you are still unsure after reading it, post again -- with more detail about what confuses you. -- esosman@comcast-dot-net.invalid "Don't be afraid of work. Make work afraid of you." -- TLM