What is fundamental difference/s between an abstract classes and interface (Write in maximum 5 lines). Create an interface that shall have 2 methods and one string type attribute, also create an implementation class of the interface that shall define both methods (you can print YOUR favorite quote in each method body).

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question

What is fundamental difference/s between an abstract classes and interface (Write in maximum 5 lines).

Create an interface that shall have 2 methods and one string type attribute, also create an implementation class of the interface that shall define both methods (you can print YOUR favorite quote in each method body).

Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Introduction to Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,