Answers

Question and Answer:

  Home  Senior .Net Developer

⟩ Please explain what are an inheritance, polymorphism, and encapsulation?

Inheritance is the ability to reuse definitions from one class in another and to base one class on another.

Polymorphism helps declare the same method within a class with different argument or return types.

Encapsulation is to be able to expose only the methods, property and arguments necessary to use the operations of a class. However, the detailed implementation remains private, hidden to other objects.

 129 views

More Questions for you: