1
Reply

.NET interview questions: - What are the different principle of OOPS?

    Answer:

    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.

    Regards,

    Please click here to see.NET and C# interview questions and answers