In an object-oriented system, an object sends a request to another object to…
In an object-oriented system, an object sends a request to another object to execute a method. This communication mechanism is called:
ऑब्जेक्ट-ओरिएंटेड सिस्टम में एक ऑब्जेक्ट दूसरे ऑब्जेक्ट को किसी मेथड को निष्पादित (execute) करने के लिए अनुरोध भेजता है। इस संचार तंत्र को क्या कहा जाता है?
Answer: B. Message passing मैसेज पासिंग — Message passing is a communication mechanism in object-oriented systems where one object sends a request to another object to invoke a method. It enables…
- A.
Encapsulation
एनकैप्सुलेशन
- B.
Message passing
मैसेज पासिंग
- C.
Aggregation
एग्रीगेशन
- D.
Composition
कंपोज़िशन
Attempted by 177 students.
Show answer & explanation
Correct answer: B
Message passing is a communication mechanism in object-oriented systems where one object sends a request to another object to invoke a method. It enables objects to interact and perform operations by exchanging messages.
व्याख्या (Hindi)
Message passing ऑब्जेक्ट-ओरिएंटेड सिस्टम में एक संचार तंत्र है जिसमें एक ऑब्जेक्ट दूसरे ऑब्जेक्ट को किसी मेथड को चलाने के लिए संदेश भेजता है। इससे ऑब्जेक्ट्स आपस में संदेशों के माध्यम से संपर्क करके कार्य करते हैं।