byte data type
- From: rahul8143@xxxxxxxxx
- Date: 14 Aug 2005 03:11:18 -0700
hello,
I am confused with byte data type. I want to know how following code
gives result as -12?
byte b = (byte) 0xf4;
System.out.println("b=" +(byte)b);
regards,
rahul
.
- Follow-Ups:
- Re: byte data type
- From: Roedy Green
- Re: byte data type
- From: Boudewijn Dijkstra
- Re: byte data type
- Prev by Date: Re: More anti-aliasing puzzles
- Next by Date: what is difference between Class variables and Instance variables?
- Previous by thread: SMS by mobile phone
- Next by thread: Re: byte data type
- Index(es):
Relevant Pages
|