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 / ashoka

Better to choose Abstract class. Because it contains not
only the abstract methods but also implemented methods but
in interfaces only unimplemented methods will be there and
all final variables will be there.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the “static” keyword mean?

1045


Who is founder of java?

944


How can you read an integer value from the keyword when the application is runtime in java? example?

1060


How many types of literals are there in JAVA?

991


what r advatages of websphere? & how to deploy?

2104


What's the base class in java from which all classes are derived?

1209


What are dot operator queries?

1056


What does jre stand for?

1001


What is namespace in java?

940


Explain the importance of thread scheduler in java?

953


What is this keyword used for?

1065


What is the use of 'super' keyword inside a constructor?

907


What does arrays sort do in java?

960


How hashmap increases its size in java?

932


Why java doesn’t support multiple inheritances?

960