| 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: 16811
|
|
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: 32830
|
|
|
There is a manual for the predecessor of the Java language here. Look at the top left corner of page 8.
|
 |
 |
|
|
subject: Is Java has any unsigned words??
|
|
|