Jump to content

Class object

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CanisRufus (talk | contribs) at 16:09, 11 September 2005 (dab Java). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

There is a difference in Java...

Classes are different to objects. In Java for example, you would use a reference (the object) to act on anything available to you in that object. You would get that reference from the template (the class). One way to get that reference is by using the new keyword. The idea is that you never actually have the class, only a reference to it.