1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
primitive type
a simple data type
ex: byte, short, int, float, double
reference type
more complex data types
ex. system
expression
a computation involving values, variables, and operators that taking them together, evaluates to a value
initialization
an assignment made when you declare a variable
int count; or int count = 10;
count =10
byte
used for small integer values like 100
short
used for small integer integer values like 1000
long
used for large integer values like 1000000
float
used for floating-point number with less precision than double 36.6f
int
used for integer values
double
used for decimal numbers ex. 19.99
char
used for single characters “A”
boolean
used for true/false values
string
used for a sequence of characters (not a primitive type but commonly used “John”
JOptionPane
showConfirmDialog