This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Originally posted by Raj Kumar Bindal: if i write byte byteArray = new byte , then byteArray can have maximum 10 bytes.So,like this,we can specify a maximum of 32767 , because that is maximum range of integer. . .
32767 might be the maximum in C but the maximum in Java is 2^31 - 1, which is 21 crore. You might do well to investigate the BigInteger class as an alternative.