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

When is update method called?

0 Answers  


What are null interfaces in JAVA ? and give me some examples?

5 Answers  


Difference between this() and super() in java ?

0 Answers  


What are the common problems you have faced while implementing Java?

1 Answers   IBM,


Why is a singleton bad?

0 Answers  


What is prefix of a string?

0 Answers  


What will happen when using pass by reference in java?

0 Answers   HCL,


Explain about interrupt() method of thread class ?

0 Answers  


What are the advantages of passing this into a method instead of the current class object itself?

0 Answers  


Is null == null in java?

0 Answers  


What is broken and continue statement?

0 Answers  


wht is mean by dirty read?

1 Answers  


Categories