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
Is object an int c#?
What is different about switch statements in c#?
What is hash c#?
What is the difference between var and dynamic types in c# 4.0?
What are namespaces, and how they are used?
Can abstract classes be final?
Explain about Threading Types.
What is the use of tryparse in c#?
Is there a way to force garbage collection?
Explain the difference between proc. Sent by val and by sub?
If a method's return type is void, can you use a return keyword in the method?
How main method is called in c#?
What is string empty?
What are partial classes and use of partial classes?
What is task parallel library?