class method


Also found in: Wikipedia.

class method

(programming)
A kind of method, available in some object-oriented programming languages, that operates on the class as a whole, as opposed to an object method that operates on an object that is an instance of the class.

A typical example of a class method would be one that keeps a count of the number of objects of that class that have been created.
References in periodicals archive ?
Jon Bergmann, advisory board member for TED-Ed, is also one of the pioneers of the flipped class method, in which teachers assign short video lectures as homework and have students do assignments in class, with their teachers present to answer questions.
Chapters illustrate basic theorems of abstract scattering theory, particularly their application to the perturbation of differential operators with constant coefficients and to the analysis of the trace class method.
Susan Patrick, CEO of the International Association for K-12 Online Learning, says the flipped class method has the potential to improve personalization of instruction and increase student-teacher interaction and peer-to-peer learning.
The IT facilities are there but usually in the form of one laptop per class which is used to display material for the whole class on a screen, mimicking the whole class method of the teacher.
During the first quarter of 2007, B&G Foods had two classes of common stock outstanding, and computed earnings per share under the two class method.
The capability to explore dependencies between functions, variables, class methods, fields, and macros significantly improves impact analysis and support for refactoring initiatives.
The usage of these SqlFunctions class methods provides better capabilities for creating cross-database LINQ to Entities queries, for example, queries for SQL Server and Oracle.
Our success with clients is based on a blend of: best in class methods, people with a strong industry background / pragmatic style (drawn from the trading community) and a focus on technology delivery.
The two primary application examples build a student information center and a chess game to illustrate the concepts of strings, class methods, sorting, inheritance, exceptions, logging, hash tables, input/output, mathematics classes, mock objects, multithreading, and generics.
Covers the basics as well as new language extensions and classes and class methods
With this invaluable book-and-DVD package, Java authority Yakov Fain fully covers Java's new features as well as its language extensions, classes and class methods, and the Swing Application Framework.
In addition, TBrun automatically handles a number of specific language features for C++ such as access to private and protected data, testing of abstract classes and pure virtual methods, ability to test base class methods with a derived class object, template parameters and member templates, vtable verification, test case inheritance from testing the base class, template specialisation and partial specialisation.