Review 2 of Beginning Java. Summary: Programs, Data, Variables and Calculation There are several different types of variables, including integral data types, floating point data types, and character data types. You can perform a variety of mathematical operations in Java, including basic arithmetic, Boolean algebra and bitwise operations on binary numbers. Sometimes you will need to convert one data type to another. This is called casting. The Math class contains a large number of math functions, including sine and cosine.