adspace


What are inner class and anonymous class?

Answer Posted / Satyendra Gupta

An Inner Class is a class that is declared inside another class, interface or enum. Anonymous classes are subclasses of a particular class and are created without a name at the time of their use. They can be useful for creating single-use, short-lived objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between filters and interceptors ?

1312


What is action chaining ?

1165


How is declarative handling of exceptions done in struts ?

1007


What are the contents on web.xml in struts application ?

1069


What do you know about validation plugin ?

1028