using shift operator

while using shift operator the integer is first converted in its binary representation.but how do we know whether we have to represent it in 1 byte or 16 byte or like this.
[179 byte] By [flowers_na] at [2007-10-3 2:39:37]
# 1

> while using shift operator the integer is first

> converted in its binary representation.

No. Everything is always binary.

> but how do we

> know whether we have to represent it in 1 byte or 16

> byte or like this.

The Java Language Specification defines the number of bits for each primitive.

CeciNEstPasUnProgrammeura at 2007-7-14 19:37:52 > top of Java-index,Java Essentials,New To Java...