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 |
Can a class or a struct have multiple constructors?
List down the access modifiers available in c#?
How do you create dlls in .NET
Does c# have functions?
What is returned if you pass the value 12.34 to the parsefloat () function?
What is a class c#?
Why we use get and set method in c#?
what is output parameter and parameter array?
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#?
Major difference between Basic httpbinding and WShttpbinding?
Where is c# compiler located?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)