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 / ravi jain

In my point of view Uday is wrong..

In his code he creates a anonymous class that implements Test
interface.

so, we can't say this is an object of interface.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of math abs in java?

1007


What is an enumeration?

1061


What is command line argument in java?

1147


What is a JAR file?

1042


Why do we create threads in java?

1242


What is the difference between a constructor and a method?

1247


What is keyword in oop?

951


What is a Hash Table? What are the advantages of using a hash table?

1082


What are runtime exceptions?

1157


How are destructors defined in java?

1030


Tell me a few examples of final classes defined in Java API?

1092


How to create a custom exception?

990


How does system arraycopy work in java?

1113


Differentiate between == and equals().

1047


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

953