What are the important concepts in OOPS
Answer Posted / mithun
Encapsulation is the 1st pillar of oops. According to the pronciple to encapsulation, a class or struct can specify hw accessible are their members to the code outside the class or struct.
Inheritence enable to create new classes that reuse, modify the behaviour that is defined in other class. class that is inherited is called based class and class the inherits is derived class.
Polymorphism means many shapped..a base class can define a virtual method, and derived class can verride them, which means they provide their own definition and implementation.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is dependency injection in simple words?
Are there functions in c#?
What is serialization in .net?
What is lock statement in C#?
What is the reason behind the invention of c#?
How can you set image source dynamically from c# application to ”test.png” file?
When was .net linq added?
Explain About Postback
Can You Prevent Your Class From Being Inherited By Another Class?
Why do we use stringbuilder in c#?
What is the difference between ref and out parameters in c#?
What is data reader in c#?
Is stringbuilder better than string?
What is the advantage of static class in c#?
What does f mean in c#?