Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    2,577

    Re: problem to get Fibonacci series- please help.

    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...
  2. Replies
    5
    Views
    2,577

    Re: problem to get Fibonacci series- please help.

    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...
Results 1 to 2 of 2