View Single Post
Old 06-19-2006, 06:39 AM   #18 (permalink)
Shattered Skies
Wario’s Bad Accent
 
Shattered Skies's Avatar
 
Join Date: May 2006
Location: Indiana, USA
Posts: 475
Shattered Skies is on a distinguished road
Send a message via ICQ to Shattered Skies Send a message via AIM to Shattered Skies Send a message via MSN to Shattered Skies Send a message via Yahoo to Shattered Skies
Default

Quote:
Originally Posted by Zelker
Wow.


Already confused.


Anyone know a simple way to explain classes and methods?



-Zelker
I realize this is a fairly old post, but I decided that this question should be answered.

A class simply can be thought of as a job description.
A method is a discrete section of code that exists inside a class and performs a task or tasks for the class. The tasks are performed by the object and defined by the class. A method can have data passed into it and can return data if necessary.
Shattered Skies is offline   Reply With Quote