Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34844
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| 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 | <nlu0oj$p9$1@dont-email.me> (permalink) |
| 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 |
Show key headers only | 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
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