• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errors

 
peter brews
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic