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

    Basic oops Concept definitions

    1). Class---->> A Class is a user defined datatype and it is known as refernce type.

    2). Object--->> An object is used to represent the class. An object is defined as instance of a class.

    3). OOPS(object oriented programming)-- > Any Programming language to become a object oriented should follow the following features apart from the class and object.
    a)Abstraction (Hidding of comlpexity)
    b)Encapsulation (Hiding the data)
    d)Inheritance (Reusability)

    Abstraction----> It is a process of Hiding the implementation but providing a services. there are two types of Abstraction available:
    1) Data Abstraction
    2) Functional Abstraction
    e.g of Abstraction is NAMESpace. Because in namespace is a base class libreries in which certaian code is written how to work this namespace but we only use namespace and nothing know about its complexity and how it is create.

    Encapsulation---> It's a process of Binding the member variable of a class along with member functions.Encapsulation Can be implemented with the help of object and Also access modifier like Private, public, Protected etc.
    e.g of Encapsulation is Class.

    PolyMorphism---> it is an approach of behaving in the different ways whenever the input changes, the behaviour of output is also changed accordingly.
    e.g of polymorphism is Exam Result.
    polymorphism are of two types
    1)Compile time plymorphism/Early binding/ Static polymorphism
    2)Runtime polymorphism/ Late Binding/ Dynamic polymorphism

    Inheritance---->> It is a concept of acquiring the parents property by the children for reusing them, same as this, the member of a class ina object oriented programming can be consumed in a new class by esablishing parent/child relationship between the class.

    Inheritance are five types.
    1) single Inheritance
    2) Multiple Inheritance
    3) Multilevel Inheritance
    4) Hybrid Inheritance
    5) Hierarichal Inheritance
  • #765728
    This is the forum section, do you have any question or query ? or if you want to publish your something. If yes then you can write an article on such aspect and deploy it in our article section, if your article is having quality then you can applicable for reward and cash.
    You can make money from this site by posting original and quality articles that comply with Google AdSense policies.

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

Sign In to post your comments