Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34794

Re: variable names

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: variable names
Date 2016-07-08 09:19 -0700
Organization A noiseless patient Spider
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>

Show all headers | 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


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