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

When we will use an Interface and Abstract class?

Answer Posted / abc

interface is used when we want all the methods implement
the methods differnetly in different situations.


Abstract class
We also use abstract classes to override the
abstract methods that it contains.Otherwise the child class
will mentioned as abstract.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between array and arraylist in java?

1001


Where is java located?

1058


Can we start a thread twice in java?

988


Why singleton pattern is better than creating singleton class with static instance?

1004


What is meant by the value of a variable?

922


What is a for loop in java?

1054


How do you initialize an arraylist in java?

1050


What is the ==?

896


Give few examples of final classes defined in Java API?

1207


What are filterstreams?

1084


Is main a function?

1062


What is java jit compilers?

1016


What are the advantages of exception handling?

1066


What is illegal identifier in java?

1019


What is hashset in java?

1149