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 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Map Method return type interface" Watch "Map Method return type interface" New topic
Author

Map Method return type interface

Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
Hi,

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

eg.

public Vector<InterfaceType> getSelectedObjects()
{
//...
return objects
}
if so can you please explain.
Thanks in advance,
inesh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Map Method return type interface
 
Similar Threads
BufferedReader Help
What is covariant type
deviation in the return type of getParameterValues() method
findByPrimaryKey
an interview question