Transition Encyclopedia Article

Transition

The following sections of this BookRags Literature Study Guide is offprint from Gale's For Students Series: Presenting Analysis, Context, and Criticism on Commonly Studied Works: Introduction, Author Biography, Plot Summary, Characters, Themes, Style, Historical Context, Critical Overview, Criticism and Critical Essays, Media Adaptations, Topics for Further Study, Compare & Contrast, What Do I Read Next?, For Further Study, and Sources.

(c)1998-2002; (c)2002 by Gale. Gale is an imprint of The Gale Group, Inc., a division of Thomson Learning, Inc. Gale and Design and Thomson Learning are trademarks used herein under license.

The following sections, if they exist, are offprint from Beacham's Encyclopedia of Popular Fiction: "Social Concerns", "Thematic Overview", "Techniques", "Literary Precedents", "Key Questions", "Related Titles", "Adaptations", "Related Web Sites". (c)1994-2005, by Walton Beacham.

The following sections, if they exist, are offprint from Beacham's Guide to Literature for Young Adults: "About the Author", "Overview", "Setting", "Literary Qualities", "Social Sensitivity", "Topics for Discussion", "Ideas for Reports and Papers". (c)1994-2005, by Walton Beacham.

All other sections in this Literature Study Guide are owned and copyrighted by BookRags, Inc.

Transition

The term transition refers to the property of objects in object-oriented programming. Specifically, transition refers to the change in an object's state (the way an object is, as determined by the properties of the object) due to the action of other objects on it. This can also be referred to as state transition.

An example of transition from the real world concerns the filling of a glass. Initially the state of the glass is empty. A jug of water is used to pour water into the glass. This action of the jug changes the state of the glass from empty to full. If someone pours the water out of the glass, then the state of the glass has been changed yet again, this time back to the original state. Thus, the state of an object (the glass) is affected by the performance of actions associated with other objects.

In object-oriented programming, defining all the possible states of a system can be exceedingly complex, because of the myriad of object interactions that might occur. Defining the possible interactions within object classes is commonly done using state transition diagrams.

Programming transition is described as a "goto" function. This can be accomplished using the following operation: proceed state. The "state" attribute contains the specified value. This argument defines the new state and so invokes a transition.

In the Java programming language, a method called transition specifies a transition from one generation to the next. Functions involved in this type of transition include loops, "if" statements, or the construction of arrays for storing tables.