softwaremom

Just another WordPress.com site

Practice Java Tonight

Tonight I forced myself to sit down and practice Java programming for 3 hours.  For me, the best way to learn is through hands-on experience.  I wrote a package that parses a text file, sort and count occurrence of each word.  i’ve found out that Java String.split method and the C# version of the same behave differently.  The former takes a regular expression and the latter takes a array of string that contains the splitting characters, or an array of splitting characters.  The C# RegRx.Split behaves like the Java split.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: