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 Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is a clr (common language runtime)?
What is signature c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
What is string interpolation in c#?
What are the differences between events and delegates in c#?
What is sorted list in c#?
What are the types of parameters in c#?
What do u mean by thread safe?
What is difference between managed and unmanaged code?
What is session management in c#?
What is difference between comparable and comparator?
what is partial assembly reference
What is default value of enum c#?
Can you declare a field readonly?