• About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Disclaimer
EquickLearning - Learn Any Where
EquickLearning - Learn Any Where

Mega_Menu

  • ×
  • Home
  • Windows Server
    • All
    • Server
    • Activity Directory
  • Programming
    • ALL
    • JAVA
    • PHP
  • Installation
    • Windows Server
    • Laravel
    • JDk
  • Software
  • BOOKS
  • Buy Here
  • Pages
    • • About Us
    • • Contact Us
    • • Privacy Policy
    • • Disclaimer
Search
HomeJAVAWhat is OOPs Concept In Hindi ? | OOPs Concept Kya hai ?

What is OOPs Concept In Hindi ? | OOPs Concept Kya hai ?

byAnuj Dwivedi0 -April 30, 2020
हेल्लो दोस्तो आज मै आप सब को Object Oriented Programming object पर आधारित programming approach के बारे में बताने वाला हु । दोस्तो OOPs, Concept किसी भी programming language को और easy बनाता है। तो OOPs के बारे मे जानने के लिये पोस्ट को अंत तक पढे ।


what-is-oops-concept-in-hindi

 

OOPs, Concept In Hindi(Object Oriented Programming):-

Object Oriented Programming object पर आधारित programming approach है । इसमे program functions के बजाय object में divide होते है । जोकि programming करना आसान बनाते है क्योकि जब भी हम कोई object प्रयोग करते हैं तब उस object की internal functionality के बारे में सोचने की जरुरत नही होती है।

OOPs को विकसित करने का मुख्य उददेश्य Procedural approach में होने वाली error को दुर करना होता है । Procedural/Structured program जैसे- C program में पूरा software function के रुप में बता हुआ होता है ।

what-is-oops-concept-in-hindi


एक छोटा program बनाने के लिये structured programming की design सही है लेकिन एक बहुत बडे program जिसमे हजारो line के code होते है उसके लिये structured programming का design सही नही होगा क्योकि बहुत सारे functions का एक program में मौजूद होने से अगर कही कोई error होति है तो उस error को search करना और correct करना बहुत मुश्किल का काम हो जाता है ।

इसी कारण OOPs का design बहुत बडे software बनाने में किया जाता है ।

OOPs Program development में data को एक important element मानता है और इसे system के चारो ओर independent form में flow करने की अनुमति नही देता है । यह data को function से जोडता है और किसी दुसरे method/function से modify होने से बचाता है ।

OOPs किसी problem को object में divide करने की अनुमति देता है और इस object के लिये data और methods को बनाता है data और method का combination object बनाता है ।




object=data+method

किसी object का data उसी object के method द्वारा access किया जा सकता है जबकि एक object का method किसी दुसरे object के method को access कर सकता है ।

Features of OOPs:-

  • OOPs में function के बजाय data को ज्यादा महत्व दिया जाता है ।
  • Program object में विभाजित होते है ।
  • Data Structure को इस प्रकार design किया जाता है ताकि वे Object की विशेशता बताये ।
  • यहाँ data hide होता है और यह बाहरी function के द्वारा access नही किया जा सकता है । Object आपस में functions/methods की
  • मदद से information exchange करते हैं ।
  • नया data और functions आसानी से आवश्यकतानुसार जोडा जा सकता है ।
  • Program design में bottom-up approach को follow करते हैं ।

Object-Oriented Programming concepts-


  1. Class
  2. Object
  3. Encapsulation
  4. Abstraction
  5. Inheritance
  6. Polymorphism

1.Class:-

Class एक user defined data type है जो data और code को contain करता है । जोकि object द्वारा use किया जाता है । Class एक template या blueprint है जोकि object की working को defined करता है ।

Class को create करने के बाद उसके कई object बनाये जा सकते है । इस प्रकार कहा जा सकता है कि class एक ही प्रकार के object का collection है ।

एक class पर आधारित सभी object तथा behaviour समान होता है परंतु इसके characterstics या properties भिन्न-भिन्न होता है ।

Example:- 

Student Anshu;
    |               |
Class      Object


what-is-oops-concept-in-hindi


2.Object:-

यह OOPs की Basic run time entity है जोकि किसी Object को represent करता है । Object class का variable जोकि class को execute करता है और उसमे उपलब्ध methods को use करके data को process करता है ।

Object create होने पर यह memory में अन्य variables की तरह space लेता है । प्रत्येक object का अपना state और behaviour होता है ।

Example:-

Pen,Pen एक object है जिसका नाम Rorito,color white है Pen की state है और इसका प्रयोग write
करने के लिये करते है और writing इसका behaviour है ।

3.Encapsulation:-

Class मुख्यत: data और method से मिलकर बना होता है । Data और method को एक साथ एक class
के अंदर बांध के रखने के इस गुण को Object oriented programming में Encapsulation कहते है । इससे data class के बाहर access नही किया जा सकता है । केवल class के methods ही इसे access कर सकते है ।


what-is-oops-concept-in-hindi


4.Abstraction:-

Abstraction का अर्थ object के केवल आवश्यक जानकारी को छुपाये रखना होता है । उदाहरण के लिये जब
हमे किसी mobile phone का उपयोग होता है तब हम mobile phone की internal structure मतलब कि वह mobile phone किस प्रकार से बना है इससे हमारा कोई लेना -देना नही होता है

इसी गुण को OOPs को Abstraction कहते हैं । Java में हम abstraction को प्राप्त करने के लिये interface और abstract class का use करते है ।

Read these contents -

  1. What is File System ?
  2. Directory Structure of Laravel in Hindi ?
  3. What is Network Security in Hindi ?
  4. What is Applet in Java in Hindi  ?
  5. What is OOPs Concept In Hindi ?
  6. Laravel Installation in Windows ?

5.Inheritance:-

Inheritance object oriented programming की एक महत्वपुर्ण एव उपयोगी विशेशता है जब एक object किसी दुसरे object के सभी गुणो को प्राप्त करके बनाया जाता है तो उसे Inheritance कहते है ।

यह गुण reusability प्रदान करता है ।

what-is-oops-concept-in-hindi
what-is-oops-concept-in-hindi


इसका अर्थ है कि हम inheritance के उपयोग से एक ही code का उपयोग अपने program में बार-बार कर सकते हैं । Inheritance का प्रयोग Run-time polymorphism प्राप्त करने के लिए किया जाता है ।

6.Polymorphism:-

Polymorphism Greek language से लिया गया शब्द है जिसमे poly का अर्थ है many और morphism का
अर्थ है form तो polymorphism का अर्थ हुआ- many form | Polymorphism OOPs का सबसे महत्वपुर्ण property है ।

उदाहरण के लिये एक विभिन्न instances में विभिन्न behaviour को प्रदर्शित करता है ।

Behaviour operation में प्रयोग किये गये data के type पर निर्भर करता है । उदाहरण के लिये addition operation लेते हैं ।

what-is-oops-concept-in-hindi


यह operation two numbers के लिये इनका sum generate करेगा और यदि operand string है तब operation concatenation के बाद तीसरी string को produce करेगा ।

Polymorphism दो प्रकार के होते है -
--------------------------
1.Compile time polymorphism
2.Run time polymorphism

Message passing:

Object oriented program एक या अनेक object का समूह होता है जो आपस मे एक-दूसरे को आवश्यकता पडने पर message भेजते भी हैं और message प्राप्त भी करते हैं । किसी object के लिये एक message एक निश्चित प्रक्रिया अथवा process अथवा function अथवा method को execute करने के लिये होता है ।

अत: message प्राप्त करके एक निश्चित प्रक्रिया को execute करके परिणाम प्रस्तुत करता है । Message passing के object का name,method का नाम और सूचना जो भेजी जानी है उसे शामिल करते हैं ।

Example-
Employee.salary(name)
    |             |            |
object message information

Advantages of OOPs-


  1. Inheritance का प्रयोग करके हम अनावश्यक code को स्माप्त कर सकते हैं ।
  2. यह development time बचाता है ।
  3. Data hiding की प्रणाली या प्रक्रिया programmer को secure program बनाने में मदद करता है ।
  4. यहाँ एक object के विभिन्न प्रतिरुप बिना किसी बाधा के रखन सम्भव है । Object के आधार पर program को विभाजित करना आसान होता है ।
  5. Object के आधार पर program को विभाजित करना आसान होता है ।
  6. Object oriented system में आसानी से छोटे system से बडे system में बदला जा सकता है ।

Final Word -

तो दोस्तों आज मैंने आप सभी को What is OOPs Concept In Hindi ? | OOPs Concept Kya hai ? के बारे में बताया हूँ| अगर आपको कोई भी Doubte हो तो Comment करके जरुर पूछे ।

तो दोस्तों मै आशा करता हूँ की आपको ये Post पसंद आई होगी। अगर आप को ये Post थोड़ी सी भी Useful/Helpful लगी हो Please Follow and Comment जरुर करे और इसे अपने दोस्तों के साथ Share करे! धन्यबाद|
  • Newer

  • Older

Posted by Anuj Dwivedi

https://equick-learning.blogspot.com/
I am Anuj Dwivedi from UP. I am Founder of equicklearning.com . I'm a student of Computer Science and Engineering. I am a full stack developer Currently i'm working on JAVA Based Web Application, Web technology like JSP, SWING, HTML, CSS, JQUERY and also Android App Development.

You might like

Show more

0/Post a Comment/Comments

You are welcome to share your ideas with us in comments

Post a Comment

You are welcome to share your ideas with us in comments

Follow Us

Popular

What are the different types of Cables in Hindi?

October 10, 2020

What is Windows Server In Hindi | Windows Server 2003 in Hindi

February 07, 2020

Laravel Framework in Hindi | Laravel in Hindi

April 04, 2020

Recents

[getWidget results='3' label='recent' type='list']

Comments

[getWidget results='3' label='comments' type='list']

Categories

  • COMPUTER(7)
  • Cryptography(1)
  • DBMS(4)
  • INTERNET(5)
  • JAVA(8)
  • Programming(9)
  • Security(13)
  • Windows_Server(25)
EquickLearning - Learn Any Where

About Us

मैंने इस site को लिखा और develop किया है ताकि students computer science से संबंधित तकनीकों को आसानी से सीख सकें। मैं विभिन्न तकनीकों पर आसान information प्रदान करने के लिए committed हूं। मुझे उम्मीद है कि यह आपकी बहुत मदद करेगा। - Anuj Dwivedi

DMCA.com Protection Status
All Right Reserved Copyright © Equicklearning.Com
  • About
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Disclaimer

Contact Form