Inner classes are too difficult for us who are just "beginning", so I shall move this thread. I think there might be an interesting question there, but you really ought to tell us what that question is
Joined: Jul 23, 2011
I want to know how this program is working...and also the concept...
Joined: Oct 13, 2005
You have several classes which implement your interface, with show() methods. You can call all those show() methods,and see their output.
You obviously have a further question, which you haven't yet asked.