Object Oriented Programming course in Faculty of Applied Sciences
Monday, March 22, 2010
Objects
Objects are the building blocks of an object oriented program .A program that uses object oriented is basically a collection of objects.Objects are the basic runtime entities in an object oriented system
Objects are key to understanding object-oriented technology. We'll find many examples of real-world objects: your dog, your desk like that. Real-world objects share two characteristics: They all have state and behavior. Dogs have state (name, color, breed, hungry) and behavior (barking, fetching, wagging tail). Identifying the state and behavior for real-world objects is a great way to begin thinking in terms of object-oriented programming.
Take a minute right now to observe the real-world objects that
Objects are key to understanding object-oriented technology. We'll find many examples of real-world objects: your dog, your desk like that.
ReplyDeleteReal-world objects share two characteristics: They all have state and behavior. Dogs have state (name, color, breed, hungry) and behavior (barking, fetching, wagging tail). Identifying the state and behavior for real-world objects is a great way to begin thinking in terms of object-oriented programming.
Take a minute right now to observe the real-world objects that
Real world objects have an identity.there fore They share three Characteristics
ReplyDelete1.state
2.behavior
3.identity
As/08/098 Sureni Kulathunga