What is the difference between class and abstract class?

Answer Posted / sravanthi

A class is a template that defines the form of all
objects.where as abstract class provides a contract between
service providers and its clients.an abstract class can
provide implementation.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an escape sequence? Name some string escape sequences in c#.

722


What are Types of assemblies that can be created in dotnet

770


What is the difference between decimal and integer?

730


What is difference between abstraction and encapsulation in c#?

737


Why main method is static in c#?

685


Is as operator in c#?

632


What is polymorphism in c sharp?

726


What is difference between dynamic and var in c#?

672


Why is hashset faster?

674


what is inheritance and an example in vb.net and c# of when you might use it?

716


Can you instantiate a struct without using a new operator in c#?

739


What is the purpose of namespace in c#?

635


Tell me the difference between value passing and address passing?

856


Can abstract class have constructor in c#?

699


To allow an element to be accessed using a unique key which .NET collection class is used ?

835