This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Annonymous inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Annonymous inner class" Watch "Annonymous inner class" New topic

Annonymous inner class

Divya Gehlot
Ranch Hand

Joined: Sep 10, 2006
Posts: 243
I want to know can Annonymous Inner Class extend abstract class also if so, then please explain me with the example.
Thanks in advance.

SCJP1.5(81%), SCDJWS(94%), next mission SCEA (but need to wait or that)
Manfred Klug
Ranch Hand

Joined: Jun 04, 2007
Posts: 377
Hi Divya,

it works the same way as with non abstract classes or interfaces.
Divya Gehlot
Ranch Hand

Joined: Sep 10, 2006
Posts: 243
Don't get me started about those stupid light bulbs.
subject: Annonymous inner class
Similar Threads
Can we create a Object of Interface type
two class files for one java file
interface implementation --- doubt
How to access an Inner Class' method
How to invoke a method in the(flavour one) annonymous innerclass?