The moose likes Web Services and the fly likes Map Method return type interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Map Method return type interface" Watch "Map Method return type interface" New topic

Map Method return type interface

Inesh Hettiarachchi

Joined: Feb 07, 2004
Posts: 25

Cant we use an interface type as a method return type in our web service class


public Vector<InterfaceType> getSelectedObjects()
return objects
if so can you please explain.
Thanks in advance,
I agree. Here's the link:
subject: Map Method return type interface
jQuery in Action, 3rd edition