Different principles of OOPS are Abstraction, Encapsulation, Polymorphism and Inheritance.
1. Abstraction:- It is a thought process which show only the necessary properties.
2. Encapsulation:- Hiding complexity of a class.
3. Inheritance:- Defining a Parent-Child Relationship.
4. Polymorphism:- Object Changes it's behaviour according to the situation.
Please click here to see .NET and C# interview questions and answers
write a comment