C# OOP Concepts.

Ask a question+

What are the fundamental OOP concepts?

add comment

1 Answer


Ans: The four fundamental concepts of Object-Oriented Programming are:

Encapsulation – The Internal representation of an object is hidden from the view outside the object’s definition. Only the required information can be accessed, whereas the rest of the data implementation is hidden.
Abstraction – It is a process of identifying the critical behavior and data of an object and eliminating the irrelevant details.
Inheritance – It is the ability to create new classes from another class. It is done by accessing, modifying, and extending the behavior of objects in the parent class.
Polymorphism – The name means, one name, many forms. It is achieved by having multiple methods with the same name but different implementations.

Gor13666_ 900
add comment

Your Answer