algorithms

algorithm design

public String getFirstName(String lastName) {

	return **some string**;

}

data types + variables

primitive types

primitive types

double num = 2.0;
int num2 = 1;
num = num + num2;

implicit casting is occurring

dating types + variables tips

  1. mixing integers + floating-point values in an arithmetic expression yields a floating-point value
  2. you use a cast (typeName) to convert a numeric value to a different type

binary representation