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

can we create a instance for intwerface?

Answer Posted / uma

no.Interface is similar to class but they lack instance
variable, their methods are declared with out any body.
Interfaces are designed to support dynamic method
resolution at run time. All methods in interface are
implicitly
abstract, even if the abstract modifier is omitted.
Interface methods have no implementation;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java 9 released?

1006


Compare Mutex and Semaphore in java.

1005


How do you convert boolean to boolean?

1158


What is the simpletimezone class in java programming?

1131


Explain about method local inner classes or local inner classes in java?

1027


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1216


What are class members by default?

1081


What is a nested list?

965


I want to persist data of objects for later use. What is the best approach to do so?

1064


Can we have try without catch block?

1080


Can we increase size of array?

1029


What is default size of arraylist in java?

1156


What is difference between array and arraylist in java?

989


What’s the difference between unit, integration and functional testing?

1108


What is an example of a constant variable?

1087