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 Interfaces?

Answer Posted / nanthinikrishnan

An abstract class can have concrete method, which is not
allowed in an interface. Abstract class can have private or
protected methods and variables and only public methods and
variables are allowed in interface. We can implement more
than one interface , but we can extend only one abstract
class. Interfaces provides loose coupling where as abstract
class provides tight coupling.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is queue in java?

1153


How do you check if an arraylist is not empty?

1121


Why use string handling in Java?

1031


Explain oops concepts in detail?

1029


Can a hashset contain duplicates java?

980


What is consumer interface?

1001


What is thread safe java?

922


Why can't we use static class instead of singleton?

948


Write a program to reverse array in place?

1071


Why java is a platform independent? Explain

1092


What is the purpose of extern variable?

1018


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1111


Is minecraft java edition free?

1121


Explain when noclassdeffounderror will be raised ?

1053


Explain the difference between call by refrence and call by value?

1026