Construct o1, setting initial values for both foo and bar in the constructor:

Try setting values again, after they've been set once:

Call a MyClass method, which sets foo internally (using _set):