Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: variable names Date: Thu, 7 Jul 2016 07:39:03 -0700 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 7 Jul 2016 14:39:03 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="fc10d1b501433caa198830294d826923"; logging-data="18845"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xTK1bEBTgCFobc+pstoN3" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:h3ARthRSpcj9x08iSQZlCpaapqQ= Xref: csiph.com comp.lang.java.programmer:34769 On 7/6/2016 20:22, 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 ); }} > As it turns out no. -- Knute Johnson