Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random Array Element

Status
Not open for further replies.

tiz

Programmer
Apr 5, 2001
65
GB
Hi,

Can someone please tell me how to create an array containing strings in Java and then randomly select one of them from the array?

Thanks in advance,

Tiz --
Tim <tim@planetedge.co.uk>
 
No problem...all sorted - darn OOP!

Tim --
Tim <tim@planetedge.co.uk>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top