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

Does .NET runtime offer Deterministic Destruction or not?

1070


Define a virtual memory? : Dot net architecture

954


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

2122


8. Oop-Why and were we use Interfacse and Abstract class.

2186


Explain about code access security?

1055


How cache is used? : Dot net architecture

1052


what is polymorphism and advantage ?

2043


What is the purpose of Accordian in jquery? Where it can be used?

2333


Explain about httpruntime.cach.get(); method?

1070


Can I create my own permission set?

1109


Explain some of the disadvantages due to microsoft.net?

1032


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

2827


What is ILDASM ?

1168


How can I create a application?

988


Can you explain update progress control?

989