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

you never get a chance to choose a method from abstract
class,because if you are writing a abstract class you
have to provide implementation to all the methods in
subclass otherwise you should declare that subclass as
Abstractclass.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between checked exception and unchecked exception?

958


What is the implementation of destroy method in java. Is it native or java code?

902


What is this keyword in java?

982


What is map java?

919


Define how does a try statement determine which catch clause should be used to handle an exception?

1065


What is %02d?

1037


What is namespace in java?

940


What is the difference between a switch statement and an if statement?

1014


How to do a true java ping from windows?

1052


What are the different data types in java?

950


How to change the priority of thread or how to set priority of thread?

979


What is a flag variable?

912


Is main is a keyword?

945


What is an iterator interface in java programming?

903


Differentiate between run time error and syntax error.

1066