word looked up : home / archive

 Object (object-oriented programming) 

In computer science, an object is something that has an identity, a state, and a behaviour. The state is encoded in instance variables (data members), the behaviour is encoded in methods (member functions). Objects are bundles of related variables and methods and are often used to model real-world objects. Objects can be affected by events. Object-oriented programs typically contain a large number of objects.

It could be said that a class is a blueprint, and an object is a house. An object belonging to a class is referred to as an instance of the class. If humanity were a class, then [you] would be an instance of the class [human].

Overview of Identities, States, and, Behaviours

The identity of an object from the class [dog] might be [Rex]. Its states may include being happy, black, and poodle[?]. Rex can engage in behaviors such as sleeping, barking, and eating. An event affecting Rex might be that he is hit by a car. A program containing an object which represents a bicycle might report such states as velocity or temperature and such behavior as accelerating or the like.

The Atomic Object and Encapsulation

In the atomic or cellular view of an object (or a class), the variables are considered to be within the nucleus and surrounded by methods. In other words, the variables and methods are encapsulated within the object. Each atom (or cell) is modular, that is, modifications to the object do not require encapsulating code to be rewritten, nor do objects need to be located within the same process[?] or computer.

Object-to-Object Communication

Objects can interact and communicate with each other. If object A wants object B to perform one of B's methods, object A will send a message to object B. Consider a program which models driving a vehicle, Object A might be you and Object B might be a car. A message from A-B might involve identifying the object being called upon to perform some action [YourCar], the name of the method (or action) to perform [changeVelocity], and a parameter such as [muchFaster].

Read on: class, object (philosophy), object-oriented programming language, object-oriented programming, object-oriented technology[?], computing


See also: object creation

gehalten."--"Ich habe nichts versprochen" war seine Antwort.--"So "ich bat sie.html">sie.html">sie.html">sie.html">sie.html">sie.html">sie.html">sie.html">sie.html">Sie um unser beider Ruhe." Sie wusste nicht recht, was sie sagte, ebensowenig was sie tat, als zu sein. Er legte einige Buecher hin, die.html">die.html">die.html">die er gebracht hatte, fragte dass sie wegbleiben moechten. Das Maedchen kam zurueck und brachte die lassen; da/dann.html">dann besann sie sich wieder anders. Werther ging in der Stube nicht fliessen. Sie nahm sich zusammen und setzte sich gelassen zu hatte. "Haben Sie nichts zu lesen?" sagte sie.--Er hatte nichts.--"Da einiger Gesaenge Ossians; ich habe sie noch nicht gelesen, denn ich finden, nicht machen wollen."--Er laechelte, holte die Lieder, ein standen ihm voll Traenen, als er hineinsah. Er setzte sich nieder und dein strahlend Haupt aus deiner Wolke, wandelst stattlich deinen haben sich gelegt; von ferne kommt des Giessbachs Murmeln; rauschende schwaermet uebers Feld. Wornach siehst du, schoenes Licht? Aber du liebliches Haar. Lebe wohl, ruhiger Strahl. Erscheine, du herrliches Freunde, sie sammeln sich auf.html">auf.html">auf Lora, wie in den Tagen, die vorueber Helden, und, siehe! Die Barden des Gesanges: grauer Ullin! Minona!--Wie veraendert seid ihr, meine Freunde, seit den festlichen Fruehlingsluefte den Huegel hin wechselnd beugen das schwach lispelnde Blick und traenenvollem Auge, schwer floss ihr Haar im unsteten Winde, als sie die liebliche Stimme erhob; denn oft hatten sie das Grab verlassen auf dem Huegel, mit der harmonischen Stimme; Salgar Stimme, da sie auf dem Huegel allein sass. Colma. Es ist Nacht!--Ich bin allein, verloren auf dem stuermischen .

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive