What is object real time example?

Look around right now and you’ll find many examples of real-world objects: your dog, your desk, your television set, your bicycle . 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).

Sizin İçin Seçtik  What is an object How is it created?

Leave a Reply

Your email address will not be published. Required fields are marked *