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

They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?

3 Answers   DNS, Wipro,


How to extract HashMap values?

5 Answers   Marlabs,


what is ABSTRACTION and what are using in real time project?

1 Answers   iGate,


Why parameters should be passed by reference?

0 Answers  


What class allows you to read objects directly from a stream in java programming?

0 Answers  


What is application tier?

0 Answers  


Is node a data type in java?

0 Answers  


What are the types of methods in java?

0 Answers  


What is an example of procedure?

0 Answers  


What problems will occur when you don?t use layout managers?

1 Answers  


Are floats faster than doubles?

0 Answers  


What is namespace in java?

0 Answers  


Categories