Skip to main content
2 of 2
added 1 characters in body; deleted 278 characters in body
Disco
  • 515
  • 1
  • 6
  • 15

Yes and no. The short answer is not the way you're trying to do it there.

If you want to return "two" things, you can encapsulate them into one object that can be returned as a single entity.

eg, a Map or any other collection should do the trick. Alternative, you could return an array.

Disco
  • 515
  • 1
  • 6
  • 15