From: Morton Goldberg Date: 2007-12-14T11:29:11+09:00 Subject: Re: Newbie Question: What is a class for? On Dec 13, 2007, at 4:30 PM, Matthias Borgeson wrote: > While I think of methods as little tools I can create to do things > whenever I want in the main program, I have no idea how a class used Expanding on this analogy, classes are tools for building more tools, tools which can be much more powerful than a single method can be. Because it holds variables as well as methods, an object created by a class can maintain its state over the course of a computation. Think of methods as tooling and the objects built from a class as complete machine tools. A method is to a milling cutter as a object is to a multi-axis milling machine. Regards, Morton