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

Hi Deepesh, uday is back again

Hey just see the question . can you create interface
instance?
just say the answer Yes or No?
my answer is Yes
how is it possible? Already i gave the example.I know that
this is anonymous inner class concept. But i don't want to
exceed this concept for too complex. that's why i did it in
this manner.Any How i thanks to all of you for more inputs.

but u can create the instance for interface. how can we
check an instance is,using instance of operator only. here
it proved hence the affrimative ans is right. i am not
plmbbing your knowledge it's just a kind of inquiry. Thanks
FYI huh!!!!

Is This Answer Correct ?    1 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of list in java?

935


Is map ordered in java?

880


Why is static used?

978


Can we declare a class as abstract without having any abstract method?

947


What are the restrictions imposed on method overriding?

955


What is the definition of tree ?

959


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1283


Which of the following is not an isolation level in the JDBC

2071


How do you start a new line in java?

917


What is array initialization in java?

985


If a method is declared as protected, where may the method be accessed in java programming?

939


Can we inherit a class with private constructor?

1053


Why super is first line in java?

996


how are methods defined?

994


Can singleton class be inherited in java?

937