This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 37926
    
  22
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: 19651
    
  18

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is anything smaller than byte ......
 
Similar Threads
byte + byte = int?
Automatic promotion of Variables
confusion on casting
wrapper object
int divided by int