OOP Archive

Difference between Interface and Abstract Class

Interface and abstract class are almost same. That’s why we may confused. But they are not same, have some difference. This article explains the difference between abstract and interface. Summary of the article: What is Abstract Class? What is Interface? Interface Vs Abstract Class What is Abstract Class? Abstract class is a class that contain

Abstract Class

Abstract class is used to obtain the common characteristics of subclasses. It’s contain complete and abstract (incomplete) both types of member and it cannot be instantiated. This article describes the introduction to abstract class in C#. Summary of the article: What is Abstract Class? Example of Abstract Class When to use Abstract Classe? Features of

OOP Interview Questions with Answers

OOP is the greatest programming structure. It help us to reuse same code in multiple place which reduce code redundancy. At present we can’t imagine software development without OOP.  Here is some common important questions and answers in OOP or Object Oriented Programming. Hope it will help you to build successful carrier. What is OOP?

Difference between Overloading and Overriding

Using overloading and overriding, we can get the concept of polymorphism. Polymorphism means one entity, multiple forms. By using one name, we can perform multiple of actions in multiple place. Difference between overloading and overriding are given bellow: Overloading It is a compile time polymorphism At the compile time the compiler know which object is

Modifiers in C#

This article describes about the modifiers used in C# programming language. Summary of the article: What is Modifiers? Modifiersin C# What is Modifiers? In programming language modifiers are used to modify declarations of types and type members. C# used the following modifiers. Access Modifiers abstract async const event extern new override partial readonly sealed static

Access Modifiers in C#

This article describes about access modifiers in OOP or C# access modifiers. Summary of the article: Access Modifiers Why we should use Access Modifiers? Types of Access Modifiers Default Access Modifier Access Modifiers Access modifiers determine the scope of the method or variables that can be accessed from other various objects or classes. Access modifiers

What is Class?

In OOP class is one of the important elements. This article describes basic overview of class or how to use a class in C#. Summary of the article: What is Class? What is Constructor? What is Destructor? What is Class? In Object Oriented Programming (OOP) a class is a representation of a type of object.

Constructor and Destructor

Constructor Constructor is a member function and its name is as like as class name. It is used to initialize the class object. Constructor & Destructor both are necessary for every class. If we don’t create them compiler automatically create them by himself. Constructor & Destructor has no return type. It is called when a

OOP or Object Oriented Programming

OOP is one kind of programming style. This article describes basic overview of OOP. Summary of the article: What is OOP? What are the basic features of OOP? What is Abstraction? What is Encapsulation? What is Polymorphism? What is Inheritance? What is OOP? OOP or Object Oriented Programming is one kind of programming system where