Object-Oriented Programming
These video lessons accompany Chapter 8 (Objects) from the Learning Processing textbook.
- #8.1
What is Object-Oriented Programming (OOP)?
24 Jul 2015This video covers the basic theory behind object-oriented programming in Processing/Java and discusses the difference between a “class” and an “object” instance.
- #8.2
Defining a Class Part I
24 Jul 2015This video walks through the process of defining a class in Processing (Java) - variables, constructor, functions.
- #8.3
Defining a Class Part II
24 Jul 2015This video walks through the process of defining a class – variables, constructor, functions.
- #8.4
Constructor Arguments
24 Jul 2015This video shows how a Java object’s parameters can be specified when making the object itself (i.e. calling the constructor.)
- #8.5
More on Objects
24 Jul 2015This video covers the following topics: objects as data for other objects, overloading, and objects communicating with other objects.
- #8.6
Pass by Value vs. Pass by Reference
24 Jul 2015This video covers passing arguments into a function and what happens when you pass an object vs. a primitive value.