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 / neeraj

if we implements a class with an Interface then it will
compile time error i.e U must give the body of a method in
your class , so it is an anonymous class.We cannot create
Instance of an Interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you identify if jvm is 32-bit or 64-bit from java program?

918


Explain heap sort?

1056


What is the final access modifier in java?

1031


What is argument in java?

991


what is an objects lock and which objects have locks? : Java thread

963


What is the difference between exception and error in java?

975


Can constructor be static or final?

1052


What makes a function well defined?

949


Is alive in java?

905


Can we have multiple public classes in a java source file?

1123


How do I get the | symbol on my keyboard?

1039


What is consumer in java?

931


How many types of constructors are used in java?

1117


How do I write a self declaration?

1037


What is arguments in java?

970