Primitive Types Flashcards
1
Q
Integers (whole numbers)
A
Int
2
Q
real numbers or decimals
A
Doubles
3
Q
Single character
A
Char
4
Q
Logical values
A
Booleans
5
Q
Converting from one date type to another
A
Casting
6
Q
Which of the following is not a primitive type?
String, Int, Double, Boolean, Char
A
String
7
Q
What is a variable?
A
A variable is an identifier of a memory location.
8
Q
True or false: Char is a primitive type.
A
True.