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


watz the difference between abstract class and interface?
Which one u ill choose as a designer?



watz the difference between abstract class and interface? Which one u ill choose as a designer?..

Answer / ajay roy

Abstract Class is the one which contains atleast one
abstract method and other method may not be essentially
abstract. However, interface always have only method
signature in it. We can not have methods with
implementation in interface unlice abstract class.

When designer wants to use common property of a system then
he should go with abstract method. Because in abstract
method he can have implementation of common properties
along with signature of other method which can be
implemented as per need.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More Core Java Interview Questions

Why is boolean important?

0 Answers  


Can a class have an interface?

0 Answers  


What is java’s garbage collected heap?

0 Answers  


Why do we need data serialization?

0 Answers  


Can a abstract class be declared final?

0 Answers  


Can we override constructors?

0 Answers  


What is an iterator interface in java programming?

0 Answers  


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

0 Answers  


How do you stop a thread in java?

0 Answers  


What are the different ways of implementing thread? Which one is more advantageous?

0 Answers  


use of wrapper classes?

3 Answers   IBM,


How Vector class is synchronized,How to build user defined class as synchronized?

0 Answers  


Categories