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 should I use abstract classes and when should I use
interfaces?

Answer Posted / ankit

if u r required more than 1 class in ur prog then use
interface because u cant extends 2 class in ur prog ...to
use 2 class in ur prog u can implement 1 interface and
extends 1 class

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell some latest versions in JAVA related areas?

985


What is the purpose class.forname method?

964


What is the arraylist in java?

1058


How does linkedlist work in java?

934


What are the basics of core java?

1020


What do you mean by multithreaded program?

1013


Differece between class and generic class?

1047


What is the indent key?

1040


What happens when I use / and % with a negative numerator?

1045


Who developed java?

999


How do you do math powers in java?

1066


Why does java have two ways to create child threads? Which way is better?

1053


Is 0 an even number?

985


Can we have try block without catch block?

1031


Is java a digit method?

1004