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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is Java has any unsigned words??" Watch "Is Java has any unsigned words??" New topic
Author

Is Java has any unsigned words??

Raams Raj
Greenhorn

Joined: Sep 10, 2009
Posts: 2
Hi

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

Joined: Sep 28, 2004
Posts: 19073
    
  40

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.

Henry


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
Sheriff

Joined: Oct 13, 2005
Posts: 40064
    
  28
There is a manual for the predecessor of the Java language here. Look at the top left corner of page 8.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Java has any unsigned words??