First things first ..... don't give up on the course ....
Second: always, always, always try to refer to the javadocs (as per your
"split" example see:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lan
g.String,%20int);
Third: keep in mind that there are a million (or so) people who have come
across the very same problem as you. As in the example you have raised, that
is the split method, simply "Google" "split java" and you will come across
thousands of hits.
The split method is not covered explicitly in the Web references of the
course but the String class is. There is, as well, an example (or a hint) of
the .split (regex) method mentioned as follows:
Hint: You will have use various methods of String class. The
following is an example code fragment you
might be able to use. Please feel free to use alternative
ways of doing the homework.
// Get the first name from a name string using split() instance
(non-static) method
String[] nameArrayForPerson1 = person1NameInstance.split(" ");
String[] nameArrayForPerson2 = person2NameInstance.split(" ");
So don't freak out !!
Take it easy... and investigate independently what is given to by the way of
course material. Look it up in Javadoc, Google, ask your next door neighbour
or simply post your question.
Part of the process of learning is "getting Stuck". Getting upset that this
topic was not covered explicitly by the course material is natural. Some
people want to be spoon fed... but I believe you have enough support here to
sail thru this material.
Yes, get stuck. Get angry. Call your mama. Vent!! Its important to do this.
But once the drama has passed, press on baby!! Go can do it!!
Ciao
I hope my English isn't too bad.
Jacques Colmenero
Solution architect
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gibbs
Sent: June 30, 2009 4:44 AM
To: Free Java Programming Online Training Course By Sang Shin
Subject: [java programming] Lab 1036. What am I missing?
I'm trying to work a bit ahead here, because I know that I
don't have the experience that most folks here have in order
to give myself extra time, but I just got a bit lost. Looking
at the homework for this lab, there is .split introduced....
was this covered somewhere? I've gone elsewhere on the web
when I've gotten a bit stuck, and have dug myself out, but this
seems to have come out of left field. Is there a specific place
to look for good tutorials for those things that don't seem to be
covered? As far as I can tell by perusing the past posts, the
entire course content is within the webpages that we have access to.
I've managed to make everything run so far and don't want to
give up on this course. Or do we just start asking here when
it starts to make no sense?
Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.13.0/2209 - Release Date: 06/29/09
14:43:00
Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.13.0/2209 - Release Date: 06/29/09
14:43:00
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---