Did you read the link? Did you run the code? Did you read my description? An int is limited in the amount of information it can hold (32 bit), and long value can hold more information (64 bit). The...
Type: Posts; User: copeg
Did you read the link? Did you run the code? Did you read my description? An int is limited in the amount of information it can hold (32 bit), and long value can hold more information (64 bit). The...
See Data Types, as well as the demo below...an int is 32 bit, and can only hold a max value that can fit into the 32 bits.
public static void main(String[] args){
int i = 1836311903;
i...