What are the fundamental principles of oo programming?



What are the fundamental principles of oo programming?..

Answer / Murari Lal

The four fundamental principles of object-oriented programming (OOP) are Encapsulation, Inheritance, Polymorphism, and Abstraction. Encapsulation hides data and methods within objects. Inheritance allows one class to derive properties and methods from another class. Polymorphism enables objects of different types to be treated as if they were instances of a common type. Abstraction involves hiding the implementation details from the user and exposing only the necessary functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can a class or a struct have multiple constructors?

1 Answers  


List down the access modifiers available in c#?

1 Answers  


How do you create dlls in .NET

1 Answers   Digital GlobalSoft,


Does c# have functions?

1 Answers  


What is returned if you pass the value 12.34 to the parsefloat () function?

1 Answers  


What is a class c#?

1 Answers  


Why we use get and set method in c#?

1 Answers  


what is output parameter and parameter array?

1 Answers   TCS,


Suppose in a scenario if we want to display information only until 4.00 p.m and after that means after 4.00 p.m if any one tries to access the information it should give error mesage. Then how will you write a delegate for this ? Give coding.

1 Answers   HP, nTech Solutions, Primetech Software, PS,


What is use of list in c#?

1 Answers  


Major difference between Basic httpbinding and WShttpbinding?

1 Answers   QuestPond,


Where is c# compiler located?

1 Answers  


Categories