Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dumb question... What's the "L" in 1000L?

807606Feb 25 2007 — edited Feb 26 2007
I've seen numeric comparisons made with an L on the end of the number:
if ( 1 < 10L ) {
    //do something
}
What is that L for? :( I'm not even gonna guess and make an idiot of myself, but "Long" springs to mind.

Message was edited by:
d11wtq
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2007
Added on Feb 25 2007
7 comments
4,213 views