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

Explain the pointers in Java?

1044


What is difference between checked and unchecked exception in java?

1015


Can you start a thread twice in Java?

1110


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

979


What is a line separator in java?

972


What is qms certification?

953


What is java virtual machine? Explain

1022


Tell me the Importent classes in net package?

1992


a thread is runnable, how does that work? : Java thread

1000


What is hash in java?

954


Can finally block be used without a catch?

1004


What is string literal in java?

1043


Can a private method be declared as static?

1018


What is string substring?

1162


What is instance example?

939