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 do we use interface in java?

Answer Posted / guest

Interface is a collection of abstract classes n
methods.Interface is mainly used for restricting the users
to make use of the specified methods only.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java architectural neutral?

1114


Can a class be declared as protected?

1016


Explain jdk, jre and jvm?

976


What is meant by anonymous class?

1025


Can private class be inherited in java?

1031


What is hashset in java?

1142


What is a layout manager and what are different types of layout managers available in java awt?

1246


What are kinds of processors?

994


Explain exception chaining in java?

1178


What is array command?

1189


What is the use of set in java?

1124


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

1028


Explain about serializable interface in java?

1010


Can java object be locked down for exclusive use by a given thread?

998


What do you mean by of string::valueof expression in java 8?

968