Labels
- Apache (10)
- Articles (4)
- BPM Tools (5)
- Glassfish (16)
- Hadoop (10)
- HP ALM (6)
- HP SOA Systinet (14)
- Issues (19)
- JAVA (85)
- JBoss (16)
- jQuery (4)
- Load Runner (37)
- Quality Center (49)
- Testing (24)
- Tips and Tricks (16)
- Tomcat (4)
- Usefull Links (18)
- Weblogic (41)
- WebSphere (2)
Monday, June 11, 2012
What is an anonymous class in java?
It is a type of inner class with no name. Once defined an object can be created of that type as a parameter all in one line. it cannot have explicitly declared constructor. The compiler automatically provides an anonymous constructor for such class.An anonymous class is never abstract. An anonymous class is always an inner class; it is never static. An anonymous class is always implicitly final.
Labels:
JAVA
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment