For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2007 > Unfamiliar with initializer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Unfamiliar with initializer
Charles Hottel

2007-04-24, 7:08 pm

One of the Java Puzzles has the following statement which use an elipsis in
a way in which I have not seen before:

private staic Class engineClass = ...;

I have googled on various combinations of : Class, initializer, ellipsis
without finding what I need. I would appreciate it if someone could tell me
what to search for or where to look to find an explanation of this syntax.
Thanks.


Tom Hawtin

2007-04-24, 10:07 pm

Charles Hottel wrote:
> One of the Java Puzzles has the following statement which use an elipsis in
> a way in which I have not seen before:
>
> private staic Class engineClass = ...;


That's not Java syntax. It appears to be indicating that some code
unimportant to the example has been elided. A normal English usage of
the elipsis...

Tom Hawtin
Charles Hottel

2007-04-25, 7:08 pm


"Tom Hawtin" <usenet@tackline.plus.com> wrote in message
news:462e9c13$0$8729$ed2619ec@ptn-nntp-reader02.plus.net...
> Charles Hottel wrote:
>
> That's not Java syntax. It appears to be indicating that some code
> unimportant to the example has been elided. A normal English usage of the
> elipsis...
>
> Tom Hawtin


Ok, thanks. I thought that might be the case but seeing the semicolon made
me think it was something special with regards to the Class class which I
have had very little experience with so far.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com