Results 1 to 2 of 2
  1. #1
    udayadas's Avatar
    udayadas is offline Member
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    0

    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..:confused:

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


    Thanks in advance

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Because the Java Gods (the JLS) have decreed it thusly?: Lexical Structure
    Last edited by Fubarable; 08-21-2008 at 06:58 PM.

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •