wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Is anything smaller than byte ...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is anything smaller than byte ......" Watch "Is anything smaller than byte ......" New topic
Author

Is anything smaller than byte ......

Sandeep Kumar JakkarajuuuX
Greenhorn

Joined: Mar 11, 2009
Posts: 10
I mean is there anything like variable byte ...... like varchar
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38896
    
  23
Varchar (which I have only seen in databases) is larger than byte. There are no numbers smaller than byte in Java, no.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

A boolean may or may not be smaller than a byte - it's quite undefined.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Is anything smaller than byte ......