aspose file tools*
The moose likes Java in General and the fly likes how to work with interface in java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to work with interface in java?" Watch "how to work with interface in java?" New topic
Author

how to work with interface in java?

Rohit Kainth
Greenhorn

Joined: Jul 23, 2011
Posts: 2








Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 560
Did you forget to add the code you're asking about?


Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11314
    
  16

I added code tags to your post, hoping it would be slightly more readable, but you don't quite have it formatted consistently.

Is there actual question that you have? there's not much help we can give otherwise...


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38851
    
  23
Welcome to the Ranch

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
Rohit Kainth
Greenhorn

Joined: Jul 23, 2011
Posts: 2
I want to know how this program is working...and also the concept...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38851
    
  23
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to work with interface in java?