Skip to Content
Java How to Program, Early Objects, 11th Edition
book

Java How to Program, Early Objects, 11th Edition

by Paul J. Deitel, Harvey Deitel
June 2017
Beginner
1296 pages
69h 23m
English
Pearson
Content preview from Java How to Program, Early Objects, 11th Edition

D Primitive Types

Fig. D.1

Type Size (bits) Values Standard
boolean   true or false  
char 16 '\u0000' to '\uFFFF' (0 to 65535) (ISO Unicode character set)
byte 8 128 to +127 (27 to 271)  
short 16 32,768 to +32,767 (215 to 2151)  
int 32 2,147,483,648 to +2,147,483,647 (231 to 2311)  
long 64 9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 (263 to 2631)  
float 32 Negative range: 3.4028234663852886E+38 to 1.40129846432481707e45 (IEEE 754 floating point)
Positive range: 1.40129846432481707e45 to 3.4028234663852886E+38
double 64 Negative range: 1.7976931348623157E+308 to 4.94065645841246544e324 (IEEE 754 floating point)
Positive range: 4.94065645841246544e324 to 1.7976931348623157E+308 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17

Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17

Kishori Sharan, Adam L. Davis
Learning Java, 5th Edition

Learning Java, 5th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Java in a Nutshell, 8th Edition

Java in a Nutshell, 8th Edition

Benjamin J. Evans, Jason Clark, David Flanagan

Publisher Resources

ISBN: 9780134751962