A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Is anything smaller than byte ......
Sandeep Kumar JakkarajuuuX
Greenhorn
Joined: Mar 11, 2009
Posts: 10
posted
Mar 11, 2009 11:20:01
0
I mean is there anything like variable byte ...... like varchar
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32611
4
posted
Mar 11, 2009 11:40:46
0
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
I like...
posted
Mar 11, 2009 12:32:05
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter