Skip to Main Content
Learning Processing, 2nd Edition
book

Learning Processing, 2nd Edition

by Daniel Shiffman
September 2015
Beginner content levelBeginner
564 pages
13h 28m
English
Morgan Kaufmann
Content preview from Learning Processing, 2nd Edition
22

Advanced Object-Oriented Programming

Do you ever think about things that you do think about?

—Henry Drummond, Inherit the Wind

In this chapter:

 Encapsulation

 Inheritance

 Polymorphism

 Overloading

In Chapter 8, I introduced object-oriented programming (“OOP”). The driving principle of the chapter was the pairing of data and functionality into one single idea, a class. A class is a template and from that template I made instances of objects and stored them in variables and arrays. Although you learned how to write classes and make objects, I did not delve very deeply into the core principles of OOP and explore its advanced features. Now that you are nearing the end of the book (and about to leap into the world of Java in the next chapter), it’s ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Make: Getting Started with Processing, 2nd Edition

Make: Getting Started with Processing, 2nd Edition

Casey Reas, Ben Fry

Publisher Resources

ISBN: 9780123947925