How are real world objects implemented represented in software terms?
Answers
Answered by
12
Answer:
A method is a function (subroutine) associated with an object. Definition: An object is a software bundle of variables and related methods. You can represent real-world objects by using software objects.
Explanation:
These real-world objects share two characteristics: They all have state and behavior. For example, dogs have state (name, color, breed, hungry) and behavior (barking, fetching, and wagging tail). Bicycles have state (current gear, current pedal cadence, two wheels, number of gears) and behavior (braking, accelerating, slowing down, changing gears).
Answered by
1
Answer:
above one answer is correct according to me also
Similar questions