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 the difference between an array and an array list?

1026


How do you do absolute value in java?

985


What is the difference between stringbuffer and stringbuilder class?

1111


Is java a digit method?

1004


How do you clear a method in java?

1012


What are the major advantages of internal iteration over external iteration?

1045


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

1014


What is array length?

978


What is use of inner class in java?

1153


What are the procedures?

1061


What is a function in java?

1036


What do you mean by jjs in java8?

990


What do you understand by casting in java language?

1031


what is synchronization? : Java thread

1028


What does sprintf return?

1066