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 are the advantages and disadvantages of object cloning?

1044


'A class is a template for an object' explain this statement.

998


Can size_t be negative?

1086


What is the difference between path and classpath variables?

979


Difference between predicate, supplier and consumer ?

997


What is the name of the java compiler?

1010


Difference between final and effectively final ?

1030


What is an immutable object? How do you create one in java?

1023


List the interfaces which extends collection interface?

897


Write a program to check string is palindrome without using loop?

989


What is canonical name in java?

1063


Mention a package that is used for linked list class in java.

909


why would you use a synchronized block vs. Synchronized method? : Java thread

906


What is the difference between length and length() method in java?

1061


what is the difference between process and thread? : Java thread

931