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

What is the difference between path and classpath variables?

1099


What is difference between path and classpath?

1266


What does it mean to flush a file?

1110


How are multiple inheritances done in Java?

1196


What is the difference between jfc & wfc?

1120


Which programming language is most secure?

1037


make a method which any number and any type of argument and print sum of that arguments.....

1860


What is the disadvantage of java?

1011


What is the use of arraylist in java?

1153


What is prime number in java?

1042


What is module in oop?

1076


What do you mean by platform independence? What is an interface?

1072


How do you convert an int to a double in java?

1112


Difference between default and protected access specifiers?

1208


How do you join strings in java?

1111