C# Beginner to advanced - Lesson 28 - Abstract classes vs interfaces part 2

مجله خبری، آموزشی پرشین تک
منتشر شده در 11 خرداد 1397

Abstract Classes Vs Interfaces


Abstract classes can have implementations for some of it’s members(Methods), but the interfaces cannot implementation for any of it’s members.

Interfaces cannot have fields where as an abstract class can have fields.

An interface can inherit from another interface only but cannot inherit from another an abstract class, where as an abstract class can inherit from another abstract class or another interface.

Abstract classes members can have access modifiers where as an interface members cannot have access modifiers.


ankpro

ankpro training

Asp.net MVC

C#

C sharp

Bangalore

Rajajinagar

Selenium

Coded UI

Mobile automation testing

Mobile testing

JQuery

JavaScript

.Net

Components of the .Net framework

Hello World

Literal

Keywords

Variable

Data types

Operators

Branching

Loops

Arrays

ArrayList

Strings

String Builder

Structures

Enums

Functions

Classes

Inheritance

Polymorphism

Properties

Indexers

Events

Nested Classes

Delegates

Anonymous methods

Labda expressions

Abstract classes

Exception Handling

Linq

Interfaces

Extension methods

Anonymous types

Generics

Collections

Garbage Collection

Reflection

Attributes

Input and output statements

Type casting

Boxing and Unboxing

Var vs Dynamic vs Object

دیدگاه کاربران