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

Can a source file contain more than one class declaration?

995


Is set ordered in java?

989


what is nested class in java?

1175


How do you write a conditional statement?

958


What is difference between this and super keyword?

988


What is the difference between compile-time polymorphism and runtime polymorphism?

998


Explain oops concepts in detail?

1029


What is array list in java?

1083


Where are variables stored?

975


What is the difference between actual and formal parameters?

945


What do you understand by casting in java language?

1029


What is numel matlab?

1340


What is the use of conditional statement?

985


Define nashorn in java8.

1041


In a class implementing an interface, can we change the value of any variable defined in the interface?

1085