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 / ravi anand pathak

1)-Abstract class required two key word for declaring
abstract class.
Interface required interface keyword for declaring the
interface.
2)-Within abstract class we can declare concrite and
abstract both type of method.
Interface support only abstract method.
3)-Variable declared within abstract class are normal.
All variables are emplicitly final,public static within
interface.
4)-We required abstract keyword to declared abstract
keyword.
All methods areemplicitlypublic and abstract.
5)-We use extends kyeword to inheriate any abstract class.
We use implements kyeword to use interfaces.
6)-Only one abstract class can extends at a time(single
inheritence).
We can use multipleinterface in a class at asame time(just
like multiple overriding).

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 cache coherency and how is it eliminated? : Dot net architecture

953


Explain difference between machine config vs. Web config : Dot net architecture

892


Explain .net mobile events? : Microsoft dot net mobile

954


Explain difference between machine config vs. Web config? : .NET Architecture

966


how to change row background color in gridview

988


What is .net mobile utility controls. : Microsoft dot net mobile

977


What's the difference between an application and a program?

1136


What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

946


What are the main Tools to develop .Net Application?

962


what are the fundamental and common properties of .net controls?

2122


Explain how cache is used? : Dot net architecture

1078


What is the use of CLR in .NET?

1035


What is the mesi? : Dot net architecture

1037


What is Video Streaming in .net??

975


Explain write back and write through caches? : Dot net architecture

1033