File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
about char declaration
Joined: Dec 06, 2001
Dec 27, 2001 17:59:00
what is the range of char data type?
0 to 2^16-1
are these two declaration correct? why?
Joined: Nov 04, 2001
Dec 27, 2001 18:19:00
these are correct as char is UNICODE char in
having 2 bytes (16bits that is 2^16 -1 as max number)
I agree. Here's the link:
subject: about char declaration
doubt in Literals
char declaration problem
IS THIS LEGAL
why "...." is valid?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014