4 Replies Latest reply: Feb 23, 2010 3:20 AM by DarrylBurke RSS

    Why return type of hashCode() method of Object class is int not long !!!!

    843789
      Why return type of hashCode() method of Object class is int not long !!!!

      I guess if we use much RAM that the memory address goes beyond the capacity of Integer then how Java will manage it??

      Or there is any restriction on maximum RAM that JVM can support even on 64 bit machines??

      regards,