Skip to Content
Object-Oriented Data Structures Using Java, 4th Edition
book

Object-Oriented Data Structures Using Java, 4th Edition

by Nell Dale, Daniel T. Joyce, Chip Weems
August 2016
Intermediate to advanced content levelIntermediate to advanced
694 pages
19h 29m
English
Jones & Bartlett Learning
Content preview from Object-Oriented Data Structures Using Java, 4th Edition

Appendix C: Primitive Data Types

Type Value Stored Default Value Size Range of Values
char Unicode character Character code 0 16 bits 0 to 65535
byte Integer value 0 8 bits 128 to 127
short Integer value 0 16 bits 32768 to 32767
int Integer value 0 32 bits 2147483648 to147483647
long Integer value 0 64 bits 9223372036854775808 to 9223372036854775807
float Real value 0.0 32 bits ±1.4E-45 to ±3.4028235E+38
double Real value 0.0 64 bits ±4.9E-324 to ±1.7976931348623157E+308
boolean true or false false 1 bit NA
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

Java How To Program, Late Objects, 11th Edition

Java How To Program, Late Objects, 11th Edition

Paul J. Deitel, Harvey M. Deitel

Publisher Resources

ISBN: 9781284089103