A class is the type, ie., an object type. Sometimes a class is
referred to as a "template" or a "cookie cutter". When you are typing
in the CodeEditor, you are working in the class. Your application may
create any number of objects of a type. These objects are the
instances. All of the instances have the properties specified in the
class, but each instance can have different values of these
properties. All of the instances have the methods specified in the
class as well.

-Jack


But if I create a canvas class in the IDE (code editor) like AnaClass.

I also design a window in the IDE.

I have not run any code so these entities are both classes (and subclasses of window or canvas)

Then, using the IDE, I could put 2(two) AnaClass canvases in the (same) window.

At this point, are those two canvases "instances" of the AnaClass class.

   -- No because I have not run any code.
   -- But they are not two separate subclasses either are they?

So what are they at this point?

But perhaps they should be considered really to be part of the window and their methods are really now part of the methods of the window.

I am hoping my sub-conscience will unscramble this stuff for me over time :)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to