Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between abstract class and interface

Answer Posted / tevendra singh pardhi(balaghat

Abstract Class:
(1)it contains both abstract methods and non abstract
methods
(2) object can't be created just through reference we are
calling all the methods
(3) it is implemented by subclass i.e which class is
extended from this
abstract class contains only nonabstract this situation
also code will compile fine but problem at runtime
abstract can't be declared with Final Synchronized Native
just your requirements you implement some methods in the
abstract class
this class also contain Constructor


Interface contains all abstract methods
all methods compulsory implemented by particular class
interface does not contain Constructor

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

12. Types of polymorphisem[Run and Design Exp.]

2122


what is the difference between running an application with and without debugger?

2139


What is one way operation?

1013


Explain how cache is used? : Dot net architecture

1144


So what exactly is the configuration file for then?

1010


what is tracing? Where it used?

1150


What are relation objects in dataset?

1043


How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts

1110


How can I write my own .NET host?

1047


Explain dma? : .NET Architecture

999


Explain about continuable exceptions?

1030


how to create applications by using Visual Studio 2012?

1011


What is a service contract, operation contract and data contract?

986


How do I prevent concurrent access to my data?

1081


Explain cache memory? : Dot net architecture

1017