What is the use of anonymous inner classes ?
Answer Posted / sam e
The use of an anonymous inner class is to create a
non-reusable implementation of an abstract class or
interface. For example, a UI button that is Runnable can
implement its run method at the same place in code that it
is created.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Why is string class considered immutable?
How do you reverse sort in java?
How do you start a thread?
How to find the index of the largest number in an arraylist java?
Give us a program to check for parenthesis matching using stack.
What is jrmp?
Explain about sets?
Can sleep() method causes another thread to sleep?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What does .equals do in java?
What a static class can contains?
What is basic syntax?
What are the methods used to implement for the key object in the hash map?
Explain the use of javap tool.
When does an object becomes eligible for garbage collection in java?