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 string immutability?

1085


What are annotations in java?

1072


What are the types of literals?

1155


What technique is carried out to find out if a particular string is empty?

1004


Can we execute a program without main() method?

1022


Can we override private constructor in java?

956


What is package private scope in java?

930


What is byte value?

977


What are the two types of streams offered by java 8?

919


how to run ecllipse with jettyserver for windows environment using batch file

2061


Explain about join() method?

952


How big is a 64 bit float?

1018


Can a top level class be private or protected?

1039


What is wrapper class html?

920


What is concurrent hashmap and its features?

1072