Java Datatypes like int
,short
,byte
are two's complement integers ,as they menioned it in here . what information does it give when someone says that in java , int
,short
or byte
are two's complement integers ?
Update : i wanted to know why 2's complement is prefered over other representations ?