Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A freshman asking help about string

807607Nov 14 2006 — edited Nov 14 2006
I am a freshman in Java programing. I have a problem about string in Java programing.

Could you let me know how to randomly generate a string? For example, when I input a string "abcde", then the output could be "acdeb", or "bdace", and so on. In one word, the output should be a random string which are formed by the five inputed characters. Thank you very much!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2006
Added on Nov 14 2006
1 comment
146 views