Java Datatypes

  • + 0 comments

    I just have one silly question. Say we are doing for short then I wanted to know why we are doing Math.pow(2,15) and not Math.pow(2,16) considering we want 2 to the power of 16 and not 15.