aspose file tools
The moose likes Beginning Java and the fly likes Is anything smaller than byte ...... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 32611
    
    4
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: 19216

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


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is anything smaller than byte ......
 
Similar Threads
byte + byte = int?
int divided by int
Automatic promotion of Variables
confusion on casting
wrapper object