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 the difference between a vector & an array list?

1108


What is a nullable field?

989


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

961


What is a java list?

1043


What is advantage of java?

956


What is the difference between sop and work instruction?

869


How do you create a bulleted list?

1200


Explain about transient variables in java?

1038


What is a for loop in java?

993


What is difference between Heap and Stack Memory?

982


What state is a thread in when it is executing?

908


What is a marker interface?

1090


how to write a server program and sending the mails to the server using smtp protocol please help me

2006


What java is used for?

1027


What is the Concept of Encapsulation in OOPS

941