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...

What is interface and its use?

Answer Posted / harish

Interface is nothing but an unimplemented class. It
contains the method signatures. The method access
specifier may be abstract. The sub class should implement
all the methods, which are defined in the Interface. If
you don?t implement any method that class should be an
abstract class. Using Interface, It enforces the sub
classes to implement the same. So that, you can create an
instance of any sub class.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is intern method in java?

1084


What is the default size of load factor in hashing based collection?

1052


What is the difference between array and array list in java?

1235


can java object be locked down for exclusive use by a given thread? : Java thread

1103


What are the application of stack?

924


What is singleton class in ruby?

1018


What is independent and dependent variables in research?

875


What is the base class of all classes?

1059


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1057


What occurs when an object is constructed?

1007


Do you need to import math in java?

1009


How is hashcode calculated in java?

1041


How do you implement tree mirroring in java?

1081


In java, how many ways you can take input from the console?

1000


How many static init can you have?

1216