aspose file tools
The moose likes Beginning Java and the fly likes Is Java has any unsigned words?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is Java has any unsigned words??" Watch "Is Java has any unsigned words??" New topic

Is Java has any unsigned words??

Raams Raj

Joined: Sep 10, 2009
Posts: 2

Is Java has any unsigned words?? if it there means, How it is used??
Henry Wong

Joined: Sep 28, 2004
Posts: 19534

Java doesn't support unsigned (primative) data types, but I guess you can create a class that does something similar.

The only unsigned data type is the "char" type, but that is not really for numbers.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Miklos Szeles
Ranch Hand

Joined: Oct 21, 2008
Posts: 142
All the primitve data types are signed in Java. There's one exception the char. Maybe that is exactly what you need:
primitive types
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41631
There is a manual for the predecessor of the Java language here. Look at the top left corner of page 8.
Have you tried LearnNowOnline?
subject: Is Java has any unsigned words??