Results 1 to 14 of 14

Thread: OOPS concept.....

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    OOPS concept.....

    What is the main reason to design the OOPS concept ?

    One of my friend told me "OOPS Designed mainly for Maintenance". Is it true ?
    or any other reason behind this ?

    --------------------
    suresh


  2. #2
    Junior Member
    Join Date
    Jul 2006
    Answers
    4

    Re: OOPS concept.....

    OOPS uses abstraction, including Modularity,Polymorphism and encapsulation.This promotes greater flexibility and maintainability


  3. #3
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: OOPS concept.....

    OOPS for Maintainance is quite an unfair comment.OOPS came into picture because of the necessitry to bind data and functionality together in a secure way.

    We don't want our data to be accessible by everybody, we want it to be accessed by a few pieces of code which is written by us. We can manipulate data only though these defined rules.

    You can refer any C++ introduction book. You will come to know more.

    -Kalayama

    [COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

    Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"

  4. #4
    Expert Member
    Join Date
    Oct 2005
    Answers
    383

    Re: OOPS concept.....

    Refer "Robert Lafore" book.I feel that this book is very good for those who wan to gain knowledge of OOPS concept.

    bye


    :)
    NEVER SAY DIE.

  5. #5
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: OOPS concept.....

    Well, Robert Lafore is for very very beginners to programming. Stanely Lippman's "C++ Primer" is "The Book" for C++ programmers.

    -Kalayama

    [COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]

    Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"

  6. #6
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: OOPS concept.....

    Thanks to all...I fight(using words only) with my friend using your points....

    ----------------
    suresh


  7. #7
    Junior Member
    Join Date
    Nov 2006
    Answers
    1

    Re: OOPS concept.....

    OOPS stands for Object oriented programming concept.
    It basically designed on principle like Abstraction,Encapsulation,Polymorphism,Inheritance.
    Abstraction-The ability of programmatic objects to represent real-world objects is called abstraction.
    Encapsulation-Encapsulation is the concept that implementation of an object is independent of its interface.
    Polymorphism-Polymorphism is the ability of different classes to provide different implementations of the same public interfaces.
    Inheritance-For reusablily,such as using used functionaliy from existing one.

    Last edited by riteshkmirche; 03-03-2007 at 03:47 AM.

  8. #8
    Junior Member
    Join Date
    May 2007
    Answers
    1

    Re: OOPS concept.....

    very easy question
    if i understand it well
    concept off oop came from electronics, in electronics we make some plant or model through which we make circuits of same type time and again
    so y we dont make our code like that we can use it time and again
    for example if we make class of eye
    then we can use it at manay places
    like human eye
    animal eye
    any where
    so as if u make a class tyre then object of it u can use again and again! "but class shud be generic and generel or adt
    "


  9. #9
    Contributing Member
    Join Date
    Mar 2007
    Answers
    42

    Smile Re: OOPS concept.....

    Quote Originally Posted by riteshkmirche View Post
    OOPS stands for Object oriented programming concept.
    It basically designed on principle like Abstraction,Encapsulation,Polymorphism,Inheritance.
    Abstraction-The ability of programmatic objects to represent real-world objects is called abstraction.
    Encapsulation-Encapsulation is the concept that implementation of an object is independent of its interface.
    Polymorphism-Polymorphism is the ability of different classes to provide different implementations of the same public interfaces.
    Inheritance-For reusablily,such as using used functionaliy from existing one.
    Ritesh 'abstract'ed OOPS in a better way


  10. #10
    Junior Member
    Join Date
    Apr 2007
    Answers
    6

    Re: OOPS concept.....

    HI psuresh,
    I am agree with Kalayama.
    OOP is mainly use for Data Security .no one can access the data out side the world.........
    And we can design as like real life................
    if u want more plz reffer Balguru Swami...........

    Regards
    Jahid


  11. #11
    Contributing Member
    Join Date
    Feb 2007
    Answers
    34

    Lightbulb Re: OOPS concept.....

    HI Suresh,
    May be your friend is referring to features of OOPs such as it maintain data integrity, it maintain security, it maintain the format such as the class we use in programs. But main thing is these concepts are to enhance your programming ability and one can you real life concepts.
    So in one way he might be correct!
    Take care,
    Raafay.


  12. #12
    Junior Member
    Join Date
    Jun 2007
    Answers
    3

    Re: OOPS concept.....

    thank for all


  13. #13
    Junior Member
    Join Date
    Aug 2007
    Answers
    1

    Re: OOPS concept.....

    Thanks to all ...
    ...Ravi


  14. #14
    Junior Member
    Join Date
    Oct 2006
    Answers
    1

    Re: OOPS concept.....

    Main reason to design OOPS is to handle complex programs. Your friend is a bit right in saying it is to handle maintenance task. But this is not the only purpose. Basically with structural programming once the program size grows beyond 25000 lines of got it becomes very difficult to manage it. There comes modular programming and OOPS to sort out the problem.
    I hope I am clear.
    vipin


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact