Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34794
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Knute Johnson <nospam@rabbitbrush.frazmtn.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: variable names |
| Date | Fri, 8 Jul 2016 09:19:53 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 28 |
| Message-ID | <nlojr9$l68$1@dont-email.me> (permalink) |
| References | <names-20160707041907@ram.dialup.fu-berlin.de> <nloh4b$aq9$2@dont-email.me> <nloh7l$aq9$3@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 8 Jul 2016 16:19:53 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="fc10d1b501433caa198830294d826923"; logging-data="21704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j0jSTr/EpCmzStChvVnUd" |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
| In-Reply-To | <nloh7l$aq9$3@dont-email.me> |
| Cancel-Lock | sha1:zFyqZiqFUkvtd9Yyrng76WPWO4Y= |
| Xref | csiph.com comp.lang.java.programmer:34794 |
Show key headers only | View raw
On 7/8/2016 08:35, Daniel Pitts wrote:
> On 7/8/16 8:33 AM, Daniel Pitts wrote:
>> On 7/6/16 8:22 PM, Stefan Ram wrote:
>>> Can you say which of the following programs will run
>>> before trying it?
>>>
>>> public final class Main
>>> { public static void main( final java.lang.String[] args )
>>> { int String = 1; String s = "1";
>>> java.lang.System.out.println( s + String ); }}
>>>
>>> public final class Main
>>> { public static void main( final java.lang.String[] args )
>>> { int System = 2; System.out.println( System ); }}
>>>
>>
>> My guess is the first one will work. I'm not sure about the second one.
>> What I do know is that I would decline the pull-request that had any of
>> this ;-)
>
> I just validated my guess is correct.
>
Well aren't you the smarty pants!
--
Knute Johnson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: variable names Daniel Pitts <usenet@coloraura.com> - 2016-07-08 08:33 -0700
Re: variable names Daniel Pitts <usenet@coloraura.com> - 2016-07-08 08:35 -0700
Re: variable names Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-07-08 09:19 -0700
Re: variable names Daniel Pitts <usenet@coloraura.com> - 2016-07-08 10:18 -0700
csiph-web