Object Oriented Programming / OOP Concept in Roman Urdu

Object Oriented Programming :
OOP or Object Oriented Programming Concepts ko samajhnay k lie Zarori hai k humay pata ho kay Classes,Functions kia hoti hai.

Class Kia Hoti hai :
• Ali ,usman,sara, doctor, engineer  HUMAN CLASS say belong kartay hai
• Cat,Birds,Dog  ANIMAL CLASS say belong kartay hai
• Disprin,Calpol,Injection  MEDICINE CLASS say belong kartay hai

Objects ?
Wo tamam chezain joo is dunya mai hai sab objects hai egg say leaky insan aur minerals etc;
Object hamesha kisi class say belong karta hai;
Classification of objects are called Class; for example;
HUMAN CLASS OBJECTS ARE; Ali ,usman,sara, doctor, engineer


Functions :
For example Human ki Class mai Saray insan atay hai unkay function kia hain
• WALKING
• SLEEPING
• EATING

So, Ali ,uzma,sara, umer jo k HUMAN CLASS KI OBJECTS HAI un sab k function same hogay.

OOP?


OOP kay Advantages :
Human class mai jitney onjects ayengay Means (All Humans) un kay Functions / Properties Same hogay . Yani humay ek dafa define karna parega kay

Properties:
- 2 ears, 2legs, 2hands, 2eyes

Functions:
-sleeping
-drinking
-listening

Yeh Class ek ban gae hai . Ab duniya mai jitney bi HUMAN aengay sab mai Human Class ki Properties & Functions hogay
Means Ek dafa Hum nay Class bana le hai Ab Us ke Properties us kay har objects pay apply hongi
Like ;
Ali has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
Sara has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
Umer has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)

All Human has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)

ALL OBJECTS BELONGS TO HUMAN CLASS HAS ;
has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)



Muhammad Usman Sharif
(MCPD,MCTS)
Microsoft .Net Platform Dev.
Aga Khan University, Karachi

37 comments:

  1. plz define about OOP concepts
    * Inheritance
    * Polymorphism
    * Encapsulation
    * Abstration

    ReplyDelete
    Replies
    1. 4 pillars of object oriented programmings (OOPs) are:-

      1.Abstraction

      Abstraction is a process of exposing essential feature of an entity
      while hiding other irrelevant detail.

      2.Encapsulation

      Encapsulation is somehow related to Data Hiding.
      Encapsulation is when you hide your modules internal data and all other implementation details/mechanism from other modules.

      3.Inheritance

      The ability of creating a new class from an existing class.

      4. Polymorphism

      Polymorphism refers to the ability to take into different forms or stages.A subclass can define its own unique behavior and still share the same functionalities or behavior of its parent/base class,BUT!! not vice versa. A parent class cannot have the behavior of its subclass.

      Delete
  2. very,,can you explain these in detail?

    ReplyDelete
  3. farhan ansari
    how to receive data dataset on the rendomly

    ReplyDelete
  4. shukriya bhai..
    Kya aap oops concept bta sakte hai?with programs?
    *Inheritance
    * Polymorphism
    * Encapsulation
    * Abstration

    ReplyDelete
  5. very good.
    kin languages ka daro madar OOP par hota hai
    please define it

    Regards

    ReplyDelete
  6. we want more lecture about OPP please send ASAP
    zishan yousaf
    gladiatorzeeshan@gmail.com

    ReplyDelete
  7. .net framework mein
    cts
    cls
    dll
    Poratable execution
    code managed
    string name
    assemble
    in ko just do do line mein define kardein plz

    ReplyDelete
  8. nice post. very easy way to teach us what is oop

    ReplyDelete
  9. Thanks Usman sharif, may i have Please some more lecture in detail about advance OOP, as like polymorphisim, inheritence, interface etc @ umairkhalil36@yahoo.com

    ReplyDelete
  10. Bro kuch ma body prob bi ho skta ha (i'm serious )

    ReplyDelete
  11. thnx dear but please next bhi guid krain ur info conve method is gud (y)

    ReplyDelete
  12. nice
    http://www.mycodingland.com/2015/08/what-is-token-in-c-using-oop.html

    ReplyDelete
  13. Encapsulatio is a mechanism of wrapping a data and code together into a single unit..

    ReplyDelete
  14. kabli v smje julsun k tusi keh pay akhanre o oooooooppppppp

    ReplyDelete
  15. kabli v smje julsun k tusi keh pay akhanre o oooooooppppppp

    ReplyDelete
  16. good bro is k sath ak code example bhe hoti to zada better tha?

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. very nice sir g
    can you send me your web site where we contact you about listing oop
    please send me link

    ReplyDelete
  19. Awesome! Education is the extreme motivation that open the new doors of data and material. So we always need to study around the things and the new part of educations with that we are not mindful.
    Data Science training in Chennai
    Data science online training

    ReplyDelete
  20. Very nice i easily understand oop

    ReplyDelete
  21. Your blog is nice. I believe this will surely help the readers who are really in need of this vital piece of information.Demystifying Data: A Guide to Practical Analytics

    ReplyDelete