You must Sign In to post a response.
  • Category: .NET

    Oops Concepts-Urgent

    The forum thread has not been reviewed by Editors yet. Readers are advised to use their best judgement before accessing this thread.
    This thread will be reviewed shortly.
    If you think this thread contain inappropriate content, please report to webmaster.
    Hi All,
    I want a clear concepts of OOPs
    i want example codings for each concepts....

    Interview type of explanation is best for me.

    Please tell me .....Urgent

    share ur interview oops concepts

    Thanks in advance

  • #42266
    Concepts of OOP:
    o Objects
    o Classes
    o Data Abstraction and Encapsulation
    o Inheritance
    o Polymorphism
    Briefly on Concepts:


    Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code.


    A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.

    Data abstraction and Encapsulation

    Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes.

    Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it.


    Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes.


    Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the data types used in the operation. Polymorphism is extensively used in implementing Inheritance.

    Advantages of OOP

    Object-Oriented Programming has the following advantages over conventional approaches:
    o OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.
    o OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
    o OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces.

  • #57354

  • #71417
    DotNetGuts (DNG)

  • #126967
    wat is static constractor.

  • #135046
    For basic oops concepts you can visit

  • #249597

  • #283690

    OOPs stands for object oriented programming system.the programming language relates to the use of c++ and Java.
    OOP is object oriented programming language which is extension of procedure oriented programming language.
    OOP is reduce the code of the program because extensive feature of polymorphism.
    It have many properties:-
    2)Data Abstraction
    3)Data Encapsulation
    5)Data Hiding

    Inheritane is Parent class(super class) variable and methods use in child class(sub Class).

    i hope this may help u

    Thanks & Regards
    Nothing is mine ,Everything is yours!!!

  • #283721
    OOP is defined as object oriented programming.
    Basic Concepts of OOP..
    8)Message passing

    For More Details..,,sid26_gci212681,00.html

    Sridhar R
    Nothing is illegal, Until You Get Caught

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.