Understanding Classes
Understanding Classes
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- SteveJobs0
classes are simply templates that allow you to create objects. an object is an instantiation of a class. a class can have properties or functions (called methods).
you can determine the scope of these properties and methods by making them public or private.
classes can 'inherit' from other classes. this is called inheritance. :O
classes just make programming easier, but many n00b programmers use them too often in situations where their programs won't benefit from their use and wind up writing hard-to-manage code.
beware of programming fads.
love,
SteveJobs
x0x0x0