Type: Posts; User: JjavaJ
thanks guys, sorry this was a dumb quesiton I should have read more carefully
If I have an arraylist and remove the first element using the remove() method do the other lements keep there palce or shift to new palces to occuppy the empty space?
I love my new hp pavillion zv6130
I recently wrote a class that removes punctuation from sentences.
I was wondering if it was better to make the one method that it has a static or instance method.
Thanks in advance
you basically need a a loop nested in another one. As you go through an array of the orignal words you add the ones that have not already occured (you use hte lops to check for this).
I have recently writtien a program to identify who amny times certain words occur in a String. psot if you need help/want the code