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 Interface & Abstract class?

Answer Posted / ravikiran(aptech mumbai)

Interface is purely abstract.all the methods declared inside
the interfaqce are by default abstract and public.

where as an abstract class can have abstarct as well as non
abstact methods.

And an abstract class may heve no abstract methods at all.
we will do like this to restrict the creation of instance
ofthat particular class.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integer parseint?

946


Can we restart a thread already started in java?

1060


What is bifunction in java?

1131


Explain aggregation in java?

933


What does this mean java?

1044


What are the steps involved to write rmi based programs?

964


What are default methods ?

999


How do you create a bulleted list?

1210


What about main thread in java?

1079


What if constructor is protected in java?

1041


What is the primitive type short?

986


What is the difference between static binding and dynamic binding?

1059


State the main difference between c++ and java?

1049


What is the advantage of preparedstatement over statement?

1060


What is sizeof in java?

1060