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


why use interface? if interface declear a method implement
in class. why direct implement method in class



why use interface? if interface declear a method implement in class. why direct implement method in..

Answer / fajruddin sk

interface mainly use as of my knowledge-----> (1) for loosely coupling(2)just declare a rule(3)for giving a special behavior(Marker interface) (4)for multiple inheritance

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is update method called?

0 Answers  


whats is the use of final,in which situation final can be used in the application?

2 Answers   DNS,


How do you write a conditional statement?

0 Answers  


What will happen if we declare don’t declare the main as static?

5 Answers  


What are event-delegation model and event-inheritance model? Which is best?

1 Answers  


To the class members how can we provide security?

1 Answers   Aspire,


Can we assign null to double in java?

0 Answers  


Why destructor is not used in java?

0 Answers  


what is the major difference between linkedlist and arraylist in java?

0 Answers   IBS,


What is a concrete classes? Is Java object class is concrete class?

0 Answers   Infosys,


What happens if we don’t define serial version uid?

0 Answers  


If you do not want your class to be inherited by any other class. What would you do?

0 Answers  


Categories