File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
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,
It is sorta covered in the JavaRanch Style Guide.
subject: Map Method return type interface
Similar Threads
BufferedReader Help
What is covariant type
deviation in the return type of getParameterValues() method
an interview question