Java Video Tutorial 3: Variables and Arithmatic (Part2)
Here are some type of Java variable. Please understand that it is NOT a part of the above video clip. It is provided for education purpose only.
int -- Stores a whole number double -- Stores a decimal float -- Stores a floating point number boolean -- Stores a true/false value String -- Stores a collection of characters. Note that this type name starts with a capital letter char -- Stores a single character