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

when to use abstract class and when to use interface?

Answer Posted / brijendra kumar soni(xavient)

1-By using Interface we can achieve the Multiple
inheritence while by using abstract class we can not
achieve.

2-Abstract Class extended by a class only while Interface
implmented by a class and extended to one or more
interfaces.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by HQL?

1118


What is unicode in java?

983


What is the maximum size of arraylist in java?

1060


What are peerless components in java programming?

1061


What is binary tree in java?

1118


Who is the owner of java?

1047


Give us the name of the list layoutmanagers in java?

958


Describe what happens when an object is created in java ?

1064


What are actual parameters?

1090


What is a finally block? Is there a case when finally will not execute?

1151


Difference between abstract and concrete class ?

1263


What is static in java?

1158


Name component subclasses that support painting in java programming?

1117


Does unicode support all languages?

1085


How can we access some class in another class in java?

1051