Forums Java Help What are Encapsulation, Inheritance and Polymorphism

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4054
    Aakanksha
    Participant

    What are Encapsulation, Inheritance and Polymorphism?

    #11599
    Aakanksha
    Participant

    Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse.

    Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.