Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2008, 06:40 PM
udayadas's Avatar
Member
 
Join Date: Aug 2008
Posts: 22
Rep Power: 0
udayadas is on a distinguished road
Red face Identifier Naming Rule
Hi,

Through out my entire career I have taken the naming convention for Java identifiers as granted, till one day my wife asked me what is the problem in having a Java identifier name start with a number.Why the compiler shouts..

I really had no answer.There has to be a valid reason for it.Please help me friends.


Thanks in advance
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-21-2008, 06:56 PM
Fubarable's Avatar
Moderator
 
Join Date: Jun 2008
Posts: 6,431
Rep Power: 8
Fubarable is on a distinguished road
Default
Because the Java Gods (the JLS) have decreed it thusly?: Lexical Structure

Last edited by Fubarable; 08-21-2008 at 06:58 PM.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculator java following pemdas rule sassygirl_kea9@yahoo.com New To Java 2 07-10-2008 05:15 AM
New rule to PMD-ECLIPSE plugin jai Eclipse 1 04-21-2008 06:40 PM
Java Rule engines bluekswing Advanced Java 0 01-02-2008 11:11 PM
Identifier expected error vasu18 New To Java 1 01-01-2008 06:49 PM
Error: <identifier> expected barney AWT / Swing 2 07-31-2007 08:38 AM


All times are GMT +2. The time now is 11:10 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org