|
Java™ by example!
|
|
|
|
Become a member to observe this category
|
|
Primitive Data Types (and wrappers)
A data type describes what value a variable can contain. The primitive data types in Java are byte, short, int, long, float, double, char and boolean. Each one of them has a certain size and format. For example an int can contain a 32bit two's complement value. Contrast to other non-platform independent languages, the size and format must adhere to the specifications.
Related Categories
Reference Data Types
Subcategories
Questions & Answers
= answered, = unanswered
General:
How do I convert an int to a char?
How do I convert a char to an int?
How do I convert an integer to a hexadecimal (hex), octal or binary representation?
How do I convert a hexadecimal (hex), octal, or binary value to an integer?
How do I convert a boolean to an int?
How do I convert an int to a boolean?
How do I convert a hexadecimal value to a byte?
How do I convert a String to a double?
How do I determine whether a Character is a letter or a digit?
Further Information (sorted alphabetically)
Articles:
Related Links:
|
|
|
|
|