OOPs concept ?






OOPs concept ?..

Answer / satish

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 ?    7 Yes 2 No

Post New Answer




More C Sharp Interview Questions

why we can't create an object for a static class?? what is the reason behind this?

4 Answers   HCL,


I am using a data table and a datagridview. I am creating two columns in data grid view : 1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn. The items of datagridviewcombo are the list of all items in data table column 1. I want that the data type of the DataGridViewTextBoxColumn should be the same as the data type of the item selected from the datagridviewcombo at runtime. How can I do that.Also I want that each cell in column of datatable should be of variable data type. Pls help. thnx.

1 Answers   Storm,


Give 2 scenarios where static constructors can be used?

0 Answers  


What is the difference between Static, Const and read only?

0 Answers  


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

0 Answers  






What is an object pool in .net?

0 Answers  


What is different between Static Constructor and Private Constructor?

0 Answers  


What is a Assembly?

0 Answers   UGC Corporation,


Explain about accessibility modifier 'protected internal'?

0 Answers  


In dynamic link library, which api is used for load library?

0 Answers   C DAC,


Is it possible to have a static indexer in c#?

0 Answers  


what does static void Main(string[] args) in C# mean????????

5 Answers   ssinformatics,






Categories