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 you create interface instance ?

Answer Posted / sushma

hi nishant,
whatever the explanation u have given is exactly right. we cant create an instance for interface. the instance created is for annonymous inner class and not of interface Test.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of array are there?

958


Describe how to implement singleton design pattern in struts.

961


What is the use of private static?

1012


Does garbage collection occur in permanent generation space in jvm?

1032


What is the common usage of serialization? What exceptions occur during serialization?

1060


What is integer size in java?

956


What is a qms manual?

949


What does a boolean method return?

1161


What are the different data types in java?

957


What are the principle concepts of oops?

917


Can we return null in java?

1077


How do you check if a number is a perfect square?

945


How do you define a singleton class?

1019


How can u increase the heap size in the memory?

958


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

883