• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Java has any unsigned words??

 
Raams Raj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Is Java has any unsigned words?? if it there means, How it is used??
 
Henry Wong
author
Marshal
Pie
Posts: 21185
80
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Miklos Szeles
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a manual for the predecessor of the Java language here. Look at the top left corner of page 8.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic