A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Joined: Feb 28, 2004
Feb 28, 2004 07:49:00
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 ?
Joined: Dec 10, 2001
Feb 28, 2004 11:35:00
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.
How To Ask Good Questions
JavaRanch FAQ Wiki
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: return value
OOP - Inheritance Question
Help please, using a JSpinner but I can't get the user's input into a date object
Calling an object's get functions multiple times in same code segement? Bad Practice?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015