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

What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture

1059


What is .net mobile input validation. : Microsoft dot net mobile

882


What are the different pipelining hazards? : Dot net architecture

961


How can implement drag and drop using atlas?

949


Can you explain update progress control?

872


Differnce between managed code and unmanaged code ?

994


How do I stop a thread?

896


What is the numeric attribute of the textbox control in .net mobile? : Microsoft dot net mobile

919


What is .net mobile forms? : Microsoft dot net mobile

870


So what exactly is the configuration file for then?

912


What is textview control of .net mobile? : Microsoft dot net mobile

942


what are the events for a form?

2049


What is .net mobile images control. : Microsoft dot net mobile

871


Can you explain control extenders?

901


How to improve the cache performance? : .NET Architecture

908