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

Difference between concurrent hashmap and hashtable and collections

0 Answers  


Why we use protected in java?

0 Answers  


Explain polymorphism citing an example.

0 Answers   Amazon,


List down the methods and interfaces of collection class in java.

0 Answers  


What is treeset and treemap in java?

0 Answers  


what is mutability?which one is mutable String or StringBuffer?and why?give examples of each which shows the mutability of each String or StringBuffer

4 Answers   IBM, Zenon,


How to find the largest value from the given array.

0 Answers  


How do you write a good declaration?

0 Answers  


The class "Class" is belongs to which package?? a) java.lang b)java.lang.reflect c)java.util d)None

4 Answers  


Can you access the private method from outside the class?

0 Answers  


What is a war file?

0 Answers  


What is the right data type to represent a price in java?

0 Answers  


Categories