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

Describe how to implement singleton design pattern in struts.

948


What happens if an exception is throws from an object's constructor?

1076


Is arraylist an object in java?

1060


What is adapter in java?

875


Can we sort set in java?

906


Why are getters and setters used?

1000


Difference between arraylist and hashset in java?

1071


Why vector class is used?

930


Can you instantiate the math class in Java?

1024


Java is pass by value or pass by reference? Explain

934


Can the interface be final?

961


What does t in java mean?

941


What access modifiers can be used for variables?

1072


Which data type is class in java?

952


What is a databasemetadata?

899