You are viewing a single comment's thread. Return to all comments →
IF INTEGER TOO LONG ,ERROR COMES FOR ANYONE:
USE 'L' AT ENDING OF LONG.
HERE'S HOW IT IS: if(x>=-9223372036854775808L && x<=9223372036854775807L )System.out.println("* long");
AND UPVOTE IF IT HELPS YOU OUT.
Seems like cookies are disabled on this browser, please enable them to open this website
Java Datatypes
You are viewing a single comment's thread. Return to all comments →
IF INTEGER TOO LONG ,ERROR COMES FOR ANYONE:
USE 'L' AT ENDING OF LONG.
HERE'S HOW IT IS: if(x>=-9223372036854775808L && x<=9223372036854775807L )System.out.println("* long");
AND UPVOTE IF IT HELPS YOU OUT.