It's not a secret anymore!
The moose likes Beginning Java and the fly likes Vector.  Plz  help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Vector.  Plz  help!" Watch "Vector.  Plz  help!" New topic

Vector. Plz help!

Dmitri Mayer

Joined: Jan 05, 2005
Posts: 8
user send me anything, and i have to send it to Vector and check if there any nimbers, if there is, how many, and check if there is any latters.
shri mon
Ranch Hand

Joined: Jan 11, 2005
Posts: 63
You did not mention exactly what the user is sending? You can put any object into the vector.

There are methods in the Character class like isLetter,isDigit to identify digits and characters.
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
This question seems not related to SCJP, and next time, it is better to post similar questions at:


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
In fact I'll make myself useful and move it
[ January 24, 2005: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Marco Davids II

Joined: Nov 02, 2004
Posts: 24
please be a bit more specific ... What is the user sending, what do you need to do.

Some code would also be helpful.
jQuery in Action, 3rd edition
subject: Vector. Plz help!
It's not a secret anymore!