Posts

Showing posts from October 11, 2018

OOP Concepts C#

Six Important C# Interview Questions & OOP Concepts 1. Encapsulation 2. Abstraction 3. Inheritance  4. Polymorphism 2) What is Encapsulation? How can we achieve?  A) Wrapping STATES and BEHAVIOURS are called as ENCAPSULATION. Or Binding VARIABLES and METHODS is called as ENCAPSULATION. By implementing class we can achieve ENCAPSULATION. 3) What is abstraction? How can we achieve this?  A) Abstraction means HIDING.                           Abstractions are 2 types.  1) data abstraction:-   Hiding unwanted data is called as data abstraction 2) Method abstraction:- Invoking the required method and hiding unwanted method is called as method abstraction. With the help of FUNCTION OVERLOADING, we can achieve Method ABSTRACTION. 4) What is Inheritance? Types of Inheritance?  A) Inheriting or deriving members from one class to another class is called as INHERITANCE...

Popular posts from this blog

String Program in C#

CSV using XmlNode

Controller_Model. cs