What is the use of anonymous inner classes ?
Answer Posted / chandrarekha
anonymous classes help to declare a class and create an
instance of a class in the same step.
| Is This Answer Correct ? | 59 Yes | 5 No |
Post New Answer View All Answers
What is public static?
explain what is transient variable in java?
How can an object be unreferenced?
What is a short in java?
What is the mapping mechanism used by java to identify IDL language?
Why generics are used in java?
What is the longest unicode character?
Tell me a few examples of final classes defined in Java API?
Can we have multiple classes in a single file?
How does a for loop work?
What do you know about java?
What is the difference between comparison done by equals method and == operator?
What is the difference between yielding and sleeping in java programming?
What is string pool in java?
describe method overloading