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

Can you extend main method in java?

1113


Give us the name of the list layoutmanagers in java?

887


What are the properties of thread?

871


Explain about core java?

1071


What is mysql driver class name?

1089


Is it necessary that each try block must be followed by a catch block?

981


What is the difference between the boolean & operator and the && operator in java programming?

1000


Which one will take more memory: an int or integer?

1179


What is the use of arraylist in java?

1041


What is flush buffer?

982


How big is a 32 bit integer?

1002


What is the java reflection api? Why it’s so important to have?

936


Can you write a java class that could be used both as an applet as well as an application?

920


What is constructor chaining in java?

1029


Why declare Main() inside the class in java ?

1004