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 instantiate Interfaces?

Answer Posted / dhawal

answer no 1. is correct programatically but actually
instantiates means obtain the behavier of object we can do
this only by creating object of class ,object has state and
behaviour, in answer 1,we transfer state first and then
write behaviour in the class,then instantiate that class ie
like dynamic method dispatch.means therotically we can not
instantiate Interfaces

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are parsing rules?

935


what is the difference between future and callable interface in java?

1145


What are the differences between wait() and sleep()?

957


What is a map? What are the implementations of map?

1038


What is the purpose of garbage collection in java, and when is it used?

982


Why is stringbuffer not immutable?

1005


Is void a keyword in java?

963


How would you format a date in java? I.e. In the ddmmyyy format?

1316


what is server side caching?

2092


What is lifetime variable?

909


What is meant by string is immutable?

999


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

918


What are inbuilt functions in java?

993


Can interface be private in java?

945


How to sort list of list in java?

1031