CSE 15 Chapter Notes - Chapter 1-2: Primitive Data Type, Unified Modeling Language, Redundant Code
Document Summary
Java is case sensitive identifier - to name various parts of the program. Java identifier - represents a memory location that contains a value of a primitive data type. Character - boolean - true/false char - use single quotes or unicode to denote - integral type arithmetic type. Floating point byte/short/int/long - signed numbers float/double - proper fractions - A wrapper class is available for each primitive data type. A type used to locate an object - left side of equal sign. Used to indicate aprticular values within a program. Collection of elements, items, or values that share the same data. The while statement - as long as something is true, do this. The for statement - during this interval, do this. The do statements - execute something until the expression is false. Classes - data type that specifies data and methods that are available in scope of class/within class.