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

    Red face Identifier Naming Rule


    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
    Blog Entries
    Rep Power


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

Similar Threads

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