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...

watz the difference between abstract class and interface?
Which one u ill choose as a designer?

Answer Posted / ajay roy

Abstract Class is the one which contains atleast one
abstract method and other method may not be essentially
abstract. However, interface always have only method
signature in it. We can not have methods with
implementation in interface unlice abstract class.

When designer wants to use common property of a system then
he should go with abstract method. Because in abstract
method he can have implementation of common properties
along with signature of other method which can be
implemented as per need.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you serialize a singleton class without violating singleton pattern?

2005


How to handle a web browser resize operation?

1133


What is dot operator?

1094


Is java a software?

1005


How do you decide when to use arraylist and linkedlist?

1049


What are byte codes?

1298


What is hotjava?

1069


What is the meaning of I ++ in java?

1246


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1136


How to create an interface?

1129


What is the method overriding?

1119


Can a boolean be null java?

1031


What is the main advantage of passing argument by reference?

1042


Where local and global variables are stored?

1127


Explain covariant method overriding in java.

1167