File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "errors" Watch "errors" New topic
Author

errors

peter brews
Ranch Hand

Joined: Jan 25, 2002
Posts: 59
Below is the code fragment that i got from someone else. I need to provide what's wrong with thefolwing method declaration.
String[] getList(Credentials cre, String name)
Reg,smita
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Aside from the fact that it has no body? Nothing.
It must return a String array.
The class Credentials needs to have been declared somewhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: errors