• Arufian
  • NEWBIE
  • 10 Points
  • Member since 2014


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi guys.
I started to learn Apex recently.
Then I found that many things can be write with case insensitive character.
Such as:
  • Object name:
    • You can write 
      public pagereference method1() { ..}
      instead of 
    • public PageReference method1() { ..}
  • Variable name
    • This will be compile error
    • Integer I;
      Integer i;
  • SOQL and SOSL statements
    • Account[] accts = [sELect ID From ACCouNT where nAme = 'fred'];
I refering to this : http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_variables.htm

Just to make sure, are there other case-insensitive things that can be happen on Apex ?
Hi guys.
I started to learn Apex recently.
Then I found that many things can be write with case insensitive character.
Such as:
  • Object name:
    • You can write 
      public pagereference method1() { ..}
      instead of 
    • public PageReference method1() { ..}
  • Variable name
    • This will be compile error
    • Integer I;
      Integer i;
  • SOQL and SOSL statements
    • Account[] accts = [sELect ID From ACCouNT where nAme = 'fred'];
I refering to this : http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_variables.htm

Just to make sure, are there other case-insensitive things that can be happen on Apex ?