🚂 RailGuruji
Software engineeringसॉफ्टवेयर इंजीनियरिंग5 / 5

Object orientation and componentsऑब्जेक्ट ओरिएंटेशन और घटक

Updated अद्यतन 07 Oct 2026
1
THE OBJECT-ORIENTED CONCEPTSऑब्जेक्ट-ओरिएंटेड अवधारणाएँ
  • ENCAPSULATION gathers into one unit all aspects of the real-world entity it models
  • An ABSTRACT DATA TYPE combines a data type with the actions on it
  • INFORMATION HIDING keeps a module's implementation details hidden from other modules
  • A CLASS is an abstract data type that supports INHERITANCE: a rocking chair derives from chair, which derives from furniture
  • An OBJECT is an instance of a class: your grandmother's rocking chair; a METHOD is a function belonging to a class
  • POLYMORPHISM lets one call behave differently according to the object's class
So a class is the blueprint, and an object is one thing built from it.
  • एनकैप्सुलेशन जिस वास्तविक इकाई का मॉडल है उसके सभी पहलुओं को एक इकाई में रखता है
  • एब्सट्रैक्ट डेटा टाइप एक डेटा प्रकार को उस पर होने वाली क्रियाओं के साथ जोड़ता है
  • इन्फॉर्मेशन हाइडिंग किसी मॉड्यूल के कार्यान्वयन विवरण दूसरे मॉड्यूलों से छिपाती है
  • क्लास वह एब्सट्रैक्ट डेटा टाइप है जो इनहेरिटेंस का समर्थन करता है: झूलने वाली कुर्सी कुर्सी से, और कुर्सी फर्नीचर से व्युत्पन्न है
  • ऑब्जेक्ट क्लास का एक उदाहरण है: आपकी दादी की झूलने वाली कुर्सी; मेथड किसी क्लास का फंक्शन है
  • पॉलीमॉर्फिज्म एक ही कॉल को ऑब्जेक्ट की क्लास के अनुसार भिन्न व्यवहार करने देता है
अर्थात् क्लास खाका है, और ऑब्जेक्ट उससे बनी एक वस्तु।
2
COMPONENTS, DIRECTORY SERVICES AND WEB SERVICESघटक, डायरेक्टरी सेवाएँ और वेब सेवाएँ
  • COMPONENT-BASED DESIGN builds a system from reusable components that talk only through defined INTERFACES
  • INTERFACE DESIGN fixes those contracts, so a component can be replaced without disturbing the others
  • A DIRECTORY SERVICE stores information about users and resources; LDAP version 3 and X.500 are its standards
  • A WEB SERVICE offers a function over the network to other programs
  • SOAP sends XML messages, described by WSDL; REST uses HTTP methods such as GET, POST, PUT and DELETE on resources
You have already met Active Directory, which is Microsoft's directory service. So SOAP is message-based XML, and REST is resource-based HTTP.
  • कंपोनेंट-आधारित डिजाइन प्रणाली को पुनः प्रयोज्य घटकों से बनाता है जो केवल परिभाषित इंटरफेस से संवाद करते हैं
  • इंटरफेस डिजाइन वे अनुबंध तय करता है, ताकि एक घटक बदलने पर दूसरे प्रभावित न हों
  • डायरेक्टरी सेवा उपयोगकर्ताओं और संसाधनों की जानकारी रखती है; एलडीएपी संस्करण 3 और एक्स.500 इसके मानक हैं
  • वेब सेवा नेटवर्क पर दूसरे प्रोग्रामों को कोई कार्य उपलब्ध कराती है
  • सोप एक्सएमएल संदेश भेजता है, जिनका वर्णन डब्ल्यूएसडीएल करता है; रेस्ट संसाधनों पर GET, POST, PUT और DELETE जैसी एचटीटीपी विधियाँ लेता है
आप एक्टिव डायरेक्टरी से पहले मिल चुके हैं, जो माइक्रोसॉफ्ट की डायरेक्टरी सेवा है। अर्थात् सोप संदेश-आधारित एक्सएमएल है, और रेस्ट संसाधन-आधारित एचटीटीपी।
Report an error on this pageइस पेज में गलती बताएँ
Read it — now test yourself. पढ़ लिया — अब खुद को परखें। Take the free Mock CBTफ्री Mock CBT दें