Advertisements
Advertisements
प्रश्न
Which of the following statements is valid for the objects?
पर्याय
They possess same characteristics and behaviour.
They possess same characteristics but different behaviour.
They possess different characteristics and different behaviour.
They possess different characteristics but common behaviour.
MCQ
उत्तर
They possess different characteristics but common behaviour.
Explanation:
Although objects in the same class may differ in terms of their states or attributes, such as variable values, they frequently behave similarly thanks to class-defined methods and functions.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?