Daya Bay Reactor Neutrino Experiment TWiki > ObjectMethod > ClassMethod Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

Class Method

A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the new method used to create new object instances. For example,

package Telecoms

ClassMethod new()

my $mobile = new Telecoms();
or
my $mobile = Telecoms->new();

Related Topics: StaticMethod, ObjectMethod, DeveloperDocumentationCategory



Revision: r2 - 2010-06-24 - 11:48:47 - TWikiContributor
Parents: ObjectMethod

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ClassMethod.