Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: variable names Date: Thu, 7 Jul 2016 16:52:56 -0400 Organization: Aioe.org NNTP Server Lines: 22 Message-ID: References: NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:34776 On 7/6/2016 11: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 ); }} No. But I don't think there is much point. Even the compiling one should not be used. Arne