First:
To use the Javadoc function in NetBeans, right click on the field like
"str.split" and choose the Javadoc option.
They must have the Javadoc zip downloaded to their computer first then
Netbeans needs to know where it is; just to make this work.

Second:
what does the .split and the .length do after the variables?
What do you think it does? Split? Length? I guarantee if you Google Java
Split Method you would get the answer. Matter of fact, here is the first
link: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.htmlsearching
for the word "Split", finding it and clicking on the link will
land you here:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)which
explains in great detail what .split does.
You can do the same thing for Length.

Third:
I'm relatively clueless how to do this, first off what does the .split
and the .length do after the variables? I imagine that has a key role
in making the program, if it doesn't then how do I go about making
such a program?
Most of the program is written for you by the copying pieces from the
example.
Try to put something, something together on what you think is right and
paste the entire code here: http://paste.pocoo.org/ so we can check it out.
Then we can tell you maybe get a since on how and what to help you on.
I will tell you that from time to time, you will see something (like .split)
in an excersise that will boggle your mind. Just go with the flow, try your
hardest to find out what it does on your own by using the material you have
read or Google; in due time you will see it again or it will be explained.
If you use Gmail, request to be added to my Chat list, so when I am on you
can just simply chat and ask me questions on anything you are having trouble
with.

Thanks,
Stephen







On Fri, Sep 19, 2008 at 6:59 AM, Norman Ho <[EMAIL PROTECTED]> wrote:

>
> Hi,
> I'll try to help.
>
> >>what does the .split and the .length do after the variables?
>
> .split is a String class method, it returns an array of string such
> that each array entry contians the section of the original string
> delimited by the split pattern.
> e.g.
>        String str1 = "AAAAAA BB CCCC";
>        String[] strary;
>        strary = str1.split(" ");
>
> this results as:
> strary[0] = "AAAAAA"
> strary[1] = "BB"
> Strary[2] = "CCCC"
>
> String.length is another String class method that returns the length
> of the string, it returns an integer value of number of characters in
> the string.
>
> To use the Javadoc function in NetBeans, right click on the field like
> "str.split" and choose the Javadoc option.
>
> HTH.
>
> norman.
> On Sep 19, 6:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
> > Where is the java doc? Im new to this group.
> >
> > On Sep 19, 2:09 am, miga <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > On Sep 19, 4:36 am, Terek <[EMAIL PROTECTED]> wrote:> I need some help
> with the Java Array homework, it says:
> >
> > > > I'm relatively clueless how to do this, first off what does the
> .split
> > > > and the .length do after the variables? I imagine that has a key role
> > > > in making the program, if it doesn't then how do I go about making
> > > > such a program?
> >
> > > First of all, could you please not post the entire homework subject,
> > > everyone in the course has it.
> > > Then read the javadoc for split and length and you will have your
> > > answers.- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to