What are the main principles of Object Oriented Programming?

The main principles of Object Oriented Programming are polymorphism, inheritance, encapsulation, and abstraction.

How can those principles be explained, through the lens of yoga?

Explore the examples presented here.

Download the Apache NetBeans project code for the examples:
yogaJavaProjects.zip
(scanned and virus free)