Housekeeping Quiz today, first 15 min of class.
Asychronous Assignment Read s7.pdf. It will solidify what we have been doing this week. There will be a quiz on it.
I want my stuff back!
Well, you have some of it. What do you have?
- Data: We know Java's type system has two parts:
- Primitive types: These hold raw data and live on the stack or inside of objects.
- Object types: These are chunks of memory on the heap.
- Variables: Varibles have type in Java, and can only refer to data of their type. Primitive type variables store their datum directly. Object type variables store a memory address in the heap.
- Conditional Logic: We have seen that if and friends work pretty much like they do in Python.
- Strings: Strings are immutable character sequences in both Java and Python. Both languages provide plenty of ways to manipulate strings.
- Classes: Both languages support classes and the creation of custom objects. All Java code must be in a class.
- Lists: Java has the
ArrayList<T>
type. It is a homogeneous sequence type. We will be looking at this in a great deal more detail. - Functions: these are methods in Java
We are now going to get the rest of it. What's missing?
- Loops
- Dictionaries
- Sets
- ArrayLists and Arrays