can you create interface instance ?

Answer Posted / joginder singh

uday,,,dude where have u used or created an instance of
interface test,,,what u are doing is using a anonymous
inner class and den calling the method using instance of
that class....
dat wasnt d ques...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are three ways in which a thread can enter the waiting state? : Java thread

550


Can a constructor have different name than a class name in java?

573


What happens when main () method is declared as private?

629


Can a class be declared as static?

648


Is overriding possible in java?

488






What are the three types of design patterns?

490


What is the use of string and stringbuffer?

522


Explain about wait() method?

541


What is the meaning of 3 dots in java?

662


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

557


Is singleton thread safe in java?

525


Explain how hashmap works?

566


How to check if a list is sorted in java?

565


What methodology can be utilized to link to a database?

489


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

531