byte data type



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

.



Relevant Pages

  • Re: What is Black hat SEO?
    ... > Can anybody tell me what is Black hat seo? ... > Rahul. ... Prev by Date: ...
    (alt.internet.search-engines)
  • Re: The "undefined" value
    ... > Note, however, that the value of the undefined data type equates to the value of the null data type when the type-converting comparison operator is used. ... Best regards. ... Prev by Date: ...
    (comp.lang.javascript)
  • What is Black hat SEO?
    ... Can anybody tell me what is Black hat seo? ... Regards, ... Rahul. ... Prev by Date: ...
    (alt.internet.search-engines)
  • Re: C datatypes
    ... If you are looking for the size of the data type, ... But the purpose of a type does not change between standards revisions. ... Regards. ... Prev by Date: ...
    (comp.programming)
  • Re: Time sync with server
    ... Thank u Mike for Your reply i will look these pages to solve the ... Regards, ... Rahul ... Prev by Date: ...
    (microsoft.public.windows.server.networking)