Re: Convert String to Object - Newbie Question



On Fri, 28 Sep 2007 07:22:45 -0700, Marion <mchew02@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

The program looks something like this:
...
public void init (String[] array, int size){
.// assume array[0] is the first string read in from the text file
String dataString = array[0];
Node.setData(dataString);

This is a bit like asking a doctor to diagnose your prostate cancer
from the phrase "my prostate is sort of round and in an embarrassing
place."

The devil is in the details. You need to construct a tiny COMPLETE
program. The problem is almost never where you thought was, or else
you would have found it. It is in the part you did not reveal.
see http://mindprod.com/jgloss/sscce.html

What is the error message? Did you look it up at
http://mindprod.com/jgloss/errormessages.html?
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: OT great cancer news
    ... John, I love your sense of humor! ... worry about prostate cancer -- just as you guys will never have to worry ... quite effective in the prevention of prostate cancer. ... chronic worrywart, and used to go to the doctor, with every complaint ...
    (rec.crafts.textiles.quilting)
  • Re: End of PSA Era?
    ... >>>diagnosed, and 30,350 men will die of prostate cancer. ... >>>underestimates the death rate to some degree. ... the more you diagnose is what Stamey states. ...
    (sci.med.prostate.cancer)
  • Re: Vibration
    ... I have been getting odd 'vibrations' underneath the surface of the skin ... At first it felt like I had my cell phone in my front pocket and I was ... It is probably wise to have a doctor check you out, but not because there is any special reason to believe you have prostate cancer. ...
    (sci.med.prostate.cancer)
  • Re: "Screening" tests
    ... >>Dr Fink doesn't want to give us the option of deciding on our own ... >>Why bother going to a doctor in the first place. ... their is no cure. ... So you are afraid to know if you have prostate cancer, ...
    (sci.med.prostate.prostatitis)
  • Re: "Screening" tests
    ... >>Dr Fink doesn't want to give us the option of deciding on our own ... >>Why bother going to a doctor in the first place. ... their is no cure. ... So you are afraid to know if you have prostate cancer, ...
    (sci.med)