which one of the following is used to distinguish objects from each other? attributes ,state, behavior,all of these
Answers
Answer:
the answer is "all of these"
hope it is helpful for u
Answer:
The correct answer to the given question is:
All of these
Explanation:
Objects are the key to understanding object-oriented technology. Real objects have two things in common. All have states and actions. Dogs have states (name, color, breed, hunger) and behaviors (barking, pulling, tail wagging). A bike also has a state (current gear, current cadence, current speed) and motion (shift, change cadence, apply brakes). Defining the state and behavior of real objects is a good way to start thinking in terms of object-oriented programming.
Different objects have different attributes, and these attributes are called properties. We know that objects have states and behavior. Their actions allow us to distinguish them from other objects. Each object has a specific behavior and is also associated with a state. So we can distinguish things by behavior.
#SPJ3