SlideShare a Scribd company logo
1 of 20
DEPARTMENT OF COMPUTER SCIENCE AND APPLICATIONS
BABA GHULAM SHAH BADSHAH UNIVERSITY RAJOURI
NAME:-lucky
ROLL NO. -------MCS-20-----
PRESENTATION TOPIC:- Abstract Class, Interface
PRESENTED TO:- Mr. -------
1
Contents:
 Abstract Class
 Interface
 Implementing Interface
 Extending Interface
2
ABSTRACT CLASS
 Abstract classes are one of the essential behaviors
provided by .NET.
 Commonly, we would like to make classes that only
represent base classes, and don’t want anyone to
create objects of these class types.
 We can make use of abstract classes to implement
such functionality in C# using the modifier 'abstract'.
 An abstract class means that, no object of this class
can be instantiated, but can make derivations of
this.
3
FEATURES:
 An abstract class can inherit from a class and one
or more interfaces.
 An abstract class can implement code with non-
Abstract methods.
 An Abstract class can have modifiers for methods,
properties etc.
 An Abstract class can have constants.
4
CONT.….
 An abstract class cannot be instantiated.
 An abstract class contain abstract members as well
as non- abstract members.
 An abstract class cannot be sealed class because
the sealed modifier prevents a class from being
inherited and the abstract modifier requires a class
to be inherited.
 An abstract class can have constructors or
destructors.
 An abstract class cannot support multiple
inheritance.
5
DECLARATION OF ABSTRACT CLASS
 abstract class ab
{…
… }
 An abstract class can contain either abstract
methods or non abstract methods.
 Abstract members do not have any implementation
in the abstract class, but the same has to be
provided in its derived class.
6
WHAT AN INTERFACE IS?
 In the real world, an interface means a medium to
interact with something.
 To be precise, it's a point where two systems,
subjects, organizations and so on meet and
interact.
 Similarly, in the programming world, an interface
means a contract to interact with multiple code
modules.
 If a class wants to communicate with an interface, it
must implement it and define its members.
7
PROGRAM
8
OUTPUT
Added is 30
Multiplication iss 200
INTERFACE
 Interfaces define properties, methods, and events,
which are the members of the interface.
 Interfaces contain only the declaration of the
members.
 It is the responsibility of the deriving class to define
the members.
 It often helps in providing a standard structure that
the deriving classes would follow.
9
Cont..
 An interface is a purely logical construct that describes
functionality without specifying implementation
 An interface generally defines set of methods that will
be implemented by the class
 But interface doesn’t implement any method itself
10
DECLARING INTERFACES
 Interfaces are declared using the interface keyword.
 It is similar to class declaration.
 Interface statements are public by default.
Following is an example of an interface
declaration:
11
IMPLEMENTING INTERFACES
 Interfaces are used as ‘superclasses’ whose
properties are inherited by classes.
 It is therefore necessary to create a class that
inherits the given interface.
class classname : interfacename
body of classname
EXTENDING AN INTERFACE
 Like classes, interfaces can also be extended. That
is, an interface can be subinterfaced from other
interfaces.
 The new subinterface will inherit all the members of
the superinterface in the manner similar to
subclasses.
interface name2 : name1
members of name2
EXAMPLE 1
14
OUTPUT
15
EXAMPLE 2
16
CLASS IMPLEMENT INTERFACE
17
OUTPUT
18
DIFFERENCES
Interface
 Contains only signatures
 Cannot contain
implementations
 Cannot contain
constructor
 A class can implement
multiple interface
Abstract class
 Can contains signatures
 Can contain
implementations
 Can contain constructor
 A class can implement
only one
abstract class
19
20

More Related Content

What's hot

Java interfaces
Java interfacesJava interfaces
Java interfacesjehan1987
 
Interface in Java
Interface in JavaInterface in Java
Interface in JavaDucat India
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++Rajes Wari
 
Interfaces In Java
Interfaces In JavaInterfaces In Java
Interfaces In Javaparag
 
What are Abstract Classes in Java | Edureka
What are Abstract Classes in Java | EdurekaWhat are Abstract Classes in Java | Edureka
What are Abstract Classes in Java | EdurekaEdureka!
 
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...Simplilearn
 
Java interfaces & abstract classes
Java interfaces & abstract classesJava interfaces & abstract classes
Java interfaces & abstract classesShreyans Pathak
 
Interface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar SinghInterface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar Singhdheeraj_cse
 
Chapter 9 Interface
Chapter 9 InterfaceChapter 9 Interface
Chapter 9 InterfaceOUM SAOKOSAL
 

What's hot (20)

Visual Basic –User Interface- V
Visual Basic –User Interface- VVisual Basic –User Interface- V
Visual Basic –User Interface- V
 
Java interfaces
Java interfacesJava interfaces
Java interfaces
 
Interface in Java
Interface in JavaInterface in Java
Interface in Java
 
Css uml
Css umlCss uml
Css uml
 
Interface in java
Interface in javaInterface in java
Interface in java
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Java interface
Java interfaceJava interface
Java interface
 
Interfaces In Java
Interfaces In JavaInterfaces In Java
Interfaces In Java
 
What are Abstract Classes in Java | Edureka
What are Abstract Classes in Java | EdurekaWhat are Abstract Classes in Java | Edureka
What are Abstract Classes in Java | Edureka
 
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
 
Ppl home assignment_unit3
Ppl home assignment_unit3Ppl home assignment_unit3
Ppl home assignment_unit3
 
Interfaces
InterfacesInterfaces
Interfaces
 
Visual Basic User Interface-VI
Visual Basic User Interface-VIVisual Basic User Interface-VI
Visual Basic User Interface-VI
 
Java interfaces
Java interfacesJava interfaces
Java interfaces
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Java interfaces & abstract classes
Java interfaces & abstract classesJava interfaces & abstract classes
Java interfaces & abstract classes
 
Interface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar SinghInterface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar Singh
 
Interface
InterfaceInterface
Interface
 
Java presentation
Java presentationJava presentation
Java presentation
 
Chapter 9 Interface
Chapter 9 InterfaceChapter 9 Interface
Chapter 9 Interface
 

Similar to abstract class and interface.Net

Polymorphism and interface in vb.net
Polymorphism and interface in vb.netPolymorphism and interface in vb.net
Polymorphism and interface in vb.netKarthigaGunasekaran1
 
what is differance between abstract class and interface ppt
what is differance between abstract class and interface pptwhat is differance between abstract class and interface ppt
what is differance between abstract class and interface pptmanojsharma469262
 
Top 20 c# interview Question and answers
Top 20 c# interview Question and answersTop 20 c# interview Question and answers
Top 20 c# interview Question and answersw3asp dotnet
 
Understanding And Using Reflection
Understanding And Using ReflectionUnderstanding And Using Reflection
Understanding And Using ReflectionGanesh Samarthyam
 
Abstract Class and Interface.pdf
Abstract Class and Interface.pdfAbstract Class and Interface.pdf
Abstract Class and Interface.pdfrajaratna4
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.Questpond
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netmekhap
 
OOFeatures_revised-2.pptx
OOFeatures_revised-2.pptxOOFeatures_revised-2.pptx
OOFeatures_revised-2.pptxssuser84e52e
 
Interoduction to c++
Interoduction to c++Interoduction to c++
Interoduction to c++Amresh Raj
 
Oops abap fundamental
Oops abap fundamentalOops abap fundamental
Oops abap fundamentalbiswajit2015
 

Similar to abstract class and interface.Net (20)

Polymorphism and interface in vb.net
Polymorphism and interface in vb.netPolymorphism and interface in vb.net
Polymorphism and interface in vb.net
 
C# program structure
C# program structureC# program structure
C# program structure
 
LectureNotes-02-DSA
LectureNotes-02-DSALectureNotes-02-DSA
LectureNotes-02-DSA
 
what is differance between abstract class and interface ppt
what is differance between abstract class and interface pptwhat is differance between abstract class and interface ppt
what is differance between abstract class and interface ppt
 
Top 20 c# interview Question and answers
Top 20 c# interview Question and answersTop 20 c# interview Question and answers
Top 20 c# interview Question and answers
 
Understanding And Using Reflection
Understanding And Using ReflectionUnderstanding And Using Reflection
Understanding And Using Reflection
 
Abstract Class and Interface.pdf
Abstract Class and Interface.pdfAbstract Class and Interface.pdf
Abstract Class and Interface.pdf
 
Csci360 20 (1)
Csci360 20 (1)Csci360 20 (1)
Csci360 20 (1)
 
Csci360 20
Csci360 20Csci360 20
Csci360 20
 
Python-DataAbstarction.pptx
Python-DataAbstarction.pptxPython-DataAbstarction.pptx
Python-DataAbstarction.pptx
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Lecture 8 Library classes
Lecture 8 Library classesLecture 8 Library classes
Lecture 8 Library classes
 
interface in c#
interface in c#interface in c#
interface in c#
 
OOFeatures_revised-2.pptx
OOFeatures_revised-2.pptxOOFeatures_revised-2.pptx
OOFeatures_revised-2.pptx
 
C# interview questions
C# interview questionsC# interview questions
C# interview questions
 
Inheritance
InheritanceInheritance
Inheritance
 
Interoduction to c++
Interoduction to c++Interoduction to c++
Interoduction to c++
 
Java interview questions
Java interview questionsJava interview questions
Java interview questions
 
Oops abap fundamental
Oops abap fundamentalOops abap fundamental
Oops abap fundamental
 

Recently uploaded

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 

Recently uploaded (20)

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 

abstract class and interface.Net

  • 1. DEPARTMENT OF COMPUTER SCIENCE AND APPLICATIONS BABA GHULAM SHAH BADSHAH UNIVERSITY RAJOURI NAME:-lucky ROLL NO. -------MCS-20----- PRESENTATION TOPIC:- Abstract Class, Interface PRESENTED TO:- Mr. ------- 1
  • 2. Contents:  Abstract Class  Interface  Implementing Interface  Extending Interface 2
  • 3. ABSTRACT CLASS  Abstract classes are one of the essential behaviors provided by .NET.  Commonly, we would like to make classes that only represent base classes, and don’t want anyone to create objects of these class types.  We can make use of abstract classes to implement such functionality in C# using the modifier 'abstract'.  An abstract class means that, no object of this class can be instantiated, but can make derivations of this. 3
  • 4. FEATURES:  An abstract class can inherit from a class and one or more interfaces.  An abstract class can implement code with non- Abstract methods.  An Abstract class can have modifiers for methods, properties etc.  An Abstract class can have constants. 4
  • 5. CONT.….  An abstract class cannot be instantiated.  An abstract class contain abstract members as well as non- abstract members.  An abstract class cannot be sealed class because the sealed modifier prevents a class from being inherited and the abstract modifier requires a class to be inherited.  An abstract class can have constructors or destructors.  An abstract class cannot support multiple inheritance. 5
  • 6. DECLARATION OF ABSTRACT CLASS  abstract class ab {… … }  An abstract class can contain either abstract methods or non abstract methods.  Abstract members do not have any implementation in the abstract class, but the same has to be provided in its derived class. 6
  • 7. WHAT AN INTERFACE IS?  In the real world, an interface means a medium to interact with something.  To be precise, it's a point where two systems, subjects, organizations and so on meet and interact.  Similarly, in the programming world, an interface means a contract to interact with multiple code modules.  If a class wants to communicate with an interface, it must implement it and define its members. 7
  • 9. INTERFACE  Interfaces define properties, methods, and events, which are the members of the interface.  Interfaces contain only the declaration of the members.  It is the responsibility of the deriving class to define the members.  It often helps in providing a standard structure that the deriving classes would follow. 9
  • 10. Cont..  An interface is a purely logical construct that describes functionality without specifying implementation  An interface generally defines set of methods that will be implemented by the class  But interface doesn’t implement any method itself 10
  • 11. DECLARING INTERFACES  Interfaces are declared using the interface keyword.  It is similar to class declaration.  Interface statements are public by default. Following is an example of an interface declaration: 11
  • 12. IMPLEMENTING INTERFACES  Interfaces are used as ‘superclasses’ whose properties are inherited by classes.  It is therefore necessary to create a class that inherits the given interface. class classname : interfacename body of classname
  • 13. EXTENDING AN INTERFACE  Like classes, interfaces can also be extended. That is, an interface can be subinterfaced from other interfaces.  The new subinterface will inherit all the members of the superinterface in the manner similar to subclasses. interface name2 : name1 members of name2
  • 19. DIFFERENCES Interface  Contains only signatures  Cannot contain implementations  Cannot contain constructor  A class can implement multiple interface Abstract class  Can contains signatures  Can contain implementations  Can contain constructor  A class can implement only one abstract class 19
  • 20. 20