File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

return value

 
kan ashok
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
public a.b.c.Hai getvalue()
{
return (a.b.c.Hai)anotherobject.getResult(this, "oye");
}
i want to print value of what getValue() returns. How can i print that value ?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would depend a bit on the implementation of your class, including the toString() method. Perhaps something like the following is what you're trying to figure out.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic