Results 1 to 2 of 2

Thread: Long

  1. #1
    maya700 is offline Member
    Join Date
    Jun 2010
    Rep Power

    Default Long


    Do i have to add L at the end of the value to declare the value as a long variable?? Because when i gave a huge value to variable without adding L at its end i got compile error. And when i did it ran successfully.


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. bigger than long
    By scorp200 in forum New To Java
    Replies: 3
    Last Post: 12-06-2009, 07:17 AM
  2. Bitwise operations with long
    By NewJavaBean in forum New To Java
    Replies: 2
    Last Post: 04-07-2009, 07:37 PM
  3. Long Cannot Be Dereferenced?
    By caps_lock in forum New To Java
    Replies: 1
    Last Post: 01-18-2009, 01:49 AM
  4. Calculate sum of long integer!
    By Julingo in forum New To Java
    Replies: 2
    Last Post: 09-09-2008, 11:50 PM
  5. It takes very long time.....
    By iresha in forum Advanced Java
    Replies: 6
    Last Post: 05-11-2008, 02:31 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