Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29204
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Common errors in Java books |
| Date | 2014-07-22 14:53 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <lqmc00$e2r$1@dont-email.me> (permalink) |
| References | (3 earlier) <llqqs9llatvt1pa5ratakl5nsilft40p08@4ax.com> <53cdc608$0$301$14726298@news.sunsite.dk> <lqlip0$c39$1@dont-email.me> <99ydncWLpqCV_1POnZ2dnUVZ8r0AAAAA@bt.com> <String.java-20140722151829@ram.dialup.fu-berlin.de> |
On 7/22/2014 9:18 AM, Stefan Ram wrote:
> "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> writes:
>> Eric Sosman wrote:
>>> Why would anyone use "import" with java.lang?
>> Sounds like a job interview question ;-)
>
> String.java
>
> public final class String {}
>
> Main.java
>
> import java.lang.String
>
> public final class Main
> { public static void main( final String[] args )
> ^^^^^^
> ...
Fair 'nuff. Allow me to rephrase: "Why would anyone with even
one tattered shred of sanity use `import' with java.lang?"
--
esosman@comcast-dot-net.invalid
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Common errors in Java books Roedy Green <see_website@mindprod.com.invalid> - 2014-07-20 23:00 -0700
Re: Common errors in Java books Gene Wirchenko <genew@telus.net> - 2014-07-21 10:18 -0700
Re: Common errors in Java books Roedy Green <see_website@mindprod.com.invalid> - 2014-07-21 12:32 -0700
Re: Common errors in Java books Arne Vajhøj <arne@vajhoej.dk> - 2014-07-21 22:01 -0400
Re: Common errors in Java books Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-07-22 07:43 -0400
Re: Common errors in Java books "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-07-22 14:08 +0100
Re: Common errors in Java books Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-07-22 14:53 -0400
Re: Common errors in Java books Roedy Green <see_website@mindprod.com.invalid> - 2014-07-23 09:44 -0700
csiph-web