Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34844

Re: Static inner class

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Static inner class
Date 2016-07-10 13:30 -0400
Organization A noiseless patient Spider
Message-ID <nlu0oj$p9$1@dont-email.me> (permalink)
References <5e1e4b01-002a-4652-8a0a-45a850a4d0b0@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Static inner class galt_57@hotmail.com - 2016-07-10 08:24 -0700
  Re: Static inner class Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-07-10 13:30 -0400
    Re: Static inner class Lew <lewbloch@gmail.com> - 2016-07-11 10:22 -0700
  Re: Static inner class Roedy Green <inquiry@mindprod.com> - 2016-07-10 23:58 -0700

csiph-web