• +91 9723535972
  • info@interviewmaterial.com

CSharp Interview Questions and Answers

Question - How can you describe object-oriented concepts in detail?

Answer -

C# is an object-oriented programming language that supports 4 OOP concepts.

  • Encapsulation: defines the binding together code and the data and keeps it safe from any manipulation done by other programs and classes. It is a container that prevents code and data from being accessed by another program that is defined outside the container.
  • Abstraction: this concept of object-oriented protects everything other than the relevant data about any created object in order to increase efficiency and security within the program.
  • Inheritance: Inheritance is applied in such a way where one object uses the properties of another object. 
  • Polymorphism: is a feature that allows one interface to act as a base class for other classes. This concept is often expressed as a "single interface but multiple actions". 

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners