Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34263
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: enum syntax |
| Date | Sun, 8 May 2016 07:22:37 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 14 |
| Message-ID | <ngn7bf$7qc$1@dont-email.me> (permalink) |
| References | <ngmdhi$ics$1@reader1.panix.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sun, 8 May 2016 11:19:11 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="2d081e2f7155c28005d4472f67c2f43d"; logging-data="8012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Gj205SHkjE5OtDyI7a+Qx" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
| In-Reply-To | <ngmdhi$ics$1@reader1.panix.com> |
| Cancel-Lock | sha1:ElffpzNpbGy5N7eieaVyyeDxQNk= |
| Xref | csiph.com comp.lang.java.programmer:34263 |
Show key headers only | View raw
On 5/7/2016 11:58 PM, ruben safir wrote:
> How is there no closing paran and a method included as an enum entry?
>
> what is this syntax ?
There's a good explanation at
http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html
Read it, then post again if you still have questions.
--
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
enum syntax ruben safir <ruben@mrbrklyn.com> - 2016-05-07 23:58 -0400
Re: enum syntax Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-05-07 21:43 -0700
Re: enum syntax Roedy Green <inquiry@mindprod.com> - 2016-07-12 04:35 -0700
Re: enum syntax Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-08 07:22 -0400
Re: enum syntax Roedy Green <see_website@mindprod.com.invalid> - 2016-05-20 18:01 -0700
csiph-web