Code.org Questions
-
Explain where a Class is defined:
A class is a template for the objects and it’s defined in the first lines of code.
-
Explain where an instances of a Class is defined:
An instance of a class, or an object, is created through instantiation which occurs after defining a class.
-
Explain where an object is Calliing a Method
Having the object name “.” method name allows an object to call a method.
-
Explain where an object is Mutating data
By adding (assigning) new properties to an object, the objects data is being mutated.