What is the use of anonymous inner classes ?

Answer Posted / juzer

Anonymous Class is used When we have a small task to be done.
It is for using memory efficiently.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is busy spin, and why should you use it?

586


What are the 8 data types in java?

519


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

557


what do you understand by synchronization? : Java thread

546


Why generics are used in java?

548






How would you use Bubble Sort to sort the number of elements?

578


How many types of the indexof method are there for strings?

487


Are arrays primitive data types?

634


What is the difference between static binding and dynamic binding?

560


Write a java program for binary search?

603


What is the difference between jdk and jre?

603


What must a class do to implement an interface in java programming?

533


What is array command?

553


What is string substring?

557


What is numeric data type?

525