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 instance for interface in java?

Answer Posted / venkateswararao

No,we cant create an instance if an interface in java , but
we can create a reference of an interface and we can
assign the object of a class to that interface reference.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is console based application in java?

1041


Why synchronization is important?

1028


What are 4 pillers of object orinted programming?

1017


Explain the difference between runnable and callable interface in java?

1049


Can you explain the private protected field modifier?

1030


What is the instance of an object?

1196


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

2307


how does multithreading take place on a computer with a single cpu? : Java thread

1151


What was java originally called?

955


Why java strings are immutable in nature?

1072


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

1056


What is append function?

1002


When should I use stringbuffer?

1019


How do you compare objects in java?

957


Can we have more than one package statement in source file ?

1032