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

I have a class which is abstract which contains only the
abstract methods. This is similar to an interface. Then, if
i have given a choice to choose one of them. Which one i
have to choose and why?

Answer Posted / venu

i preferred to choose interface bcoz
if i implement interface still i have a chance to extend
another class

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between overriding & overloading?

1140


What is off heap memory?

1069


Why hashset is used in java?

1120


what is a thread pool in java and why is it used?

1056


What is the difference between heap and stack memory?

1246


Is a boolean variable?

1063


What happens if an exception is throws from an object's destructor?

1095


What is difference between overloading and overriding in java?

1078


What is a protected void?

981


What is the significance of continue jump statement? Explain with an example.

1351


How does java enable high performance?

1200


What is module in project?

1025


What is foreach loop in java?

1068


How many bytes is a string java?

1077


Can we store variables in local blocks?

1406