Learn faster and stay on-track by joining this free class with other self-learners.
Class length: 6 weeks. Start anytime.
Status: Under Construction
|Join this class!|
Lesson 3: Assignment 1: Quiz
In the following code, when is the attribute bar is created in the object foo? - during new or duing setting of the attribute? Based on this, how is what attr_accessor does is different from how properties are declared in Java or similar languages?
foo = Foo.new