Oops concepts ?

Answer Posted / shafi syed

Abstraction, Inheritance, Encapsulation, Polymorphism
Abstraction : Abstraction is the process of identifying
common patterns that have systematic variations; an
abstraction represents the common pattern and provides a
means for specifying which variation to use.
Inheritance :OOP, a parent class can inherit its behavior
and state to children classes
Encapsulation :Encapsulation allows an object to separate
its interface from its implementation. The data and the
implementation code for the object are hidden behind its
interface.
Polymorphism:Polymorphism allows objects to be represented
in multiple forms

Is This Answer Correct ?    25 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a verbatim string literal and why do we use it?

694


Is a games console a computer?

677


What is the difference between delegates and superdelegates?

670


What are the collection types can be used in c#?

640


What is a c# delegate?

791


What benefit do you get from using a primary interop assembly (pia)?

724


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

738


If I want to override a method one of class A and in class b then how do you declare?

935


Explain About web methods and its various attributes

744


What is difference between ienumerable and list?

727


What is the difference between out and ref in c#?

672


What is the difference between function and method in c#?

652


What is the relation between classes and objects?

717


Is c# good for beginners?

650


Why do we need delegates?

657