An object is a thing. Think about object-oriented programming as a thing and something you
want to do to that thing. This is in contrast to a programming language such as C, known as a
procedural programming language. In C, you typically think about what you want to do first
and then you worry about the objects, almost the opposite of object orientation.
Consider an example from everyday life. Let’s assume that you own a car, which is obviously
an object, and one that you own. You don’t have just any car; you have a particular car that
was manufactured in a factory, maybe in Detroit, maybe in Japan, or maybe someplace else.
Your car has a vehicle identification number (VIN) that uniquely identifies that car here in the
|Judul e-Book||Programming in Objedtive - C|
|Penulis||Stephen G. Kochan|