File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Unsigned byte?? Is it possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Unsigned byte?? Is it possible?" Watch "Unsigned byte?? Is it possible?" New topic

Unsigned byte?? Is it possible?

sonir shah
Ranch Hand

Joined: Nov 01, 2001
Posts: 435
What is wrong will the code?

I tried running the code but it is giving some error
Are we allowed using the statement" unsigned byte b =0; "
Stefan Zoerner
Ranch Hand

Joined: Nov 29, 2001
Posts: 121
Hello Sonir!
In Java all integral types, other than char, are signed. There is no unsigned keyword as there is in C.
Greetings from Hamburg,

Stefan Zoerner
Author of German LDAP-Book
Committer at Apache Directory Project
I agree. Here's the link:
subject: Unsigned byte?? Is it possible?
It's not a secret anymore!