What is the use of anonymous inner classes ?

Answer Posted / harish

an anonymous class is a local class that has no name

Is This Answer Correct ?    72 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

551


Can a class declared as private be accessed outside it’s package?

517


What is int argc char * argv?

576


What is purpose of find feature?

618


How does java pattern compile work?

554






What is the do while loop syntax?

561


What is package protected in java?

530


Can I use % with real numbers?

568


What is valid keyword in java?

567


Explain features of interfaces in java?

564


What are predicates in java 8?

540


What is hash table in java?

496


How do you convert string to int in java?

568


What is the benefit of lambda expressions?

499


Explain about fail safe iterators in java?

572