Method (computer Programming) - Special Methods

Special Methods

Special methods are very language-specific and a language may support none, some, or all of the special methods defined here. A language's compiler may automatically generate default special methods or a programmer may be allowed to optionally define special methods. Most special methods cannot be directly called, but rather the compiler generates code to call them at appropriate times. The syntax for definition and calling (i.e., when a special method can be called) of special methods varies amongst programming languages.

Read more about this topic:  Method (computer Programming)

Famous quotes containing the words special and/or methods:

    “Jack: A politician, huh?
    Editor: Oh, county treasurer or something like that.
    Jack: What’s so special about him?
    Editor: They say he’s an honest man.”
    —Robert Rossen (1908–1966)

    “A woman might claim to retain some of the child’s faculties, although very limited and defused, simply because she has not been encouraged to learn methods of thought and develop a disciplined mind. As long as education remains largely induction ignorance will retain these advantages over learning and it is time that women impudently put them to work.”
    —Germaine Greer (b. 1939)