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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multithreading in java?

1057


What are the kinds of polymorphism?

1095


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

999


What is an object in java and how is it created?

1058


How do you sort an array in java?

1001


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

997


How static variable work in java?

1130


What is the function of java?

1013


How to do a true java ping from windows?

1160


How do you create a bulleted list?

1257


Can an arraylist be empty?

1058


Why we use methods in java?

1003


What is the use of set in java?

1124


What is java autoboxing?

952


Explain static nested classes ?

1122