print out object variable values
- From: "polilop" <fmatosic@@inet.hr>
- Date: Sat, 4 Feb 2006 09:40:53 +0100
I have a class with 50 string variables.
I need to see in my main program which ones are set to some values.
To do this i need to print them to the screen. I'm getting fed up writting
System.out.println(myObject.getThisString);
System.out.println(myObject.getThatString)
......
As i have to do this few times.
Is there an easy way to print all the values in an object?
Thx
.
- Follow-Ups:
- Re: print out object variable values
- From: Lans Redmond
- Re: print out object variable values
- Prev by Date: get event name????
- Next by Date: Re: print out object variable values
- Previous by thread: get event name????
- Next by thread: Re: print out object variable values
- Index(es):