This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Unsigned byte?? Is it possible?" Watch "Unsigned byte?? Is it possible?" New topic
Author

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; "
Sonir
Stefan Zoerner
Author
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


Stefan Zoerner
Author of German LDAP-Book
Committer at Apache Directory Project
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unsigned byte?? Is it possible?
 
Similar Threads
integral types
whts the out put
Wierd Socket Behavior
array
Byte Manipulation