Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Programmer Certification (OCPJP)
What is the range of Char
Shailendra Guggali
Ranch Hand
Posts: 86
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Q : What is the range of char datatype?
1. 0 - 65535 OR 2. 0 - 65536
( Complete Ref - Naughton says 2 but JQ+ answers as 1 )
nidiya gaspar
Greenhorn
Posts: 7
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi ,
I guess "1" is the correct answer
regards
nidiya
Tualha Khan
Ranch Hand
Posts: 287
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It's 0 to 2^16 -1
which is the first option in the question!
Bye,
Tualha Khan
SCJP2, BEA WLS 6.0, DB2 UDB 7.1
Straws are for suckers. Now suck on this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Conversion of Primitives
Q from examulator.com
Range of char type 0 -216 ???
about char declaration
Mock #2 and Question #28
More...