Today, on day 16, we looked at Object Oriented Programing (OOP), why it is needed and how it works.
what an object has = attributes = variables associated to a moduled object
what an object can do = methods = functions
Essentially, an object is just a way of combining some piece of data and some functionality all together in the same thing.
we can generate multiple versions of the same object from the same blueprint (i.e., a class)
Comments
Post a Comment